fix(Core/Log): GMLogFile -> GmLogFile (#5130)

This commit is contained in:
Stefano Borzì 2021-04-05 01:23:46 +02:00 committed by GitHub
parent c2b8d78f3e
commit ee1918a3e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,11 +115,11 @@ void Log::Initialize()
m_gmlog_per_account = sConfigMgr->GetOption<bool>("GmLogPerAccount", false, false);
if (!m_gmlog_per_account)
gmLogfile = openLogFile("GMLogFile", "GmLogTimestamp", "a");
gmLogfile = openLogFile("GmLogFile", "GmLogTimestamp", "a");
else
{
// 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())
{
bool m_gmlog_timestamp = sConfigMgr->GetOption<bool>("GmLogTimestamp", false, false);