mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
feat(Core/Misc): remove and replace ACE_Singleton (#2418)
This commit is contained in:
@@ -22,6 +22,12 @@ PacketLog::~PacketLog()
|
||||
_file = NULL;
|
||||
}
|
||||
|
||||
PacketLog* PacketLog::instance()
|
||||
{
|
||||
static PacketLog instance;
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void PacketLog::Initialize()
|
||||
{
|
||||
std::string logsDir = sConfigMgr->GetStringDefault("LogsDir", "");
|
||||
|
||||
Reference in New Issue
Block a user