mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 20:13:48 +00:00
fix(Core/Log): GMLogFile -> GmLogFile (#5130)
This commit is contained in:
@@ -115,11 +115,11 @@ void Log::Initialize()
|
|||||||
|
|
||||||
m_gmlog_per_account = sConfigMgr->GetOption<bool>("GmLogPerAccount", false, false);
|
m_gmlog_per_account = sConfigMgr->GetOption<bool>("GmLogPerAccount", false, false);
|
||||||
if (!m_gmlog_per_account)
|
if (!m_gmlog_per_account)
|
||||||
gmLogfile = openLogFile("GMLogFile", "GmLogTimestamp", "a");
|
gmLogfile = openLogFile("GmLogFile", "GmLogTimestamp", "a");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// GM log settings for per account case
|
// GM log settings for per account case
|
||||||
m_gmlog_filename_format = sConfigMgr->GetOption<std::string>("GMLogFile", "", false);
|
m_gmlog_filename_format = sConfigMgr->GetOption<std::string>("GmLogFile", "", false);
|
||||||
if (!m_gmlog_filename_format.empty())
|
if (!m_gmlog_filename_format.empty())
|
||||||
{
|
{
|
||||||
bool m_gmlog_timestamp = sConfigMgr->GetOption<bool>("GmLogTimestamp", false, false);
|
bool m_gmlog_timestamp = sConfigMgr->GetOption<bool>("GmLogTimestamp", false, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user