mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
*Properly initialize members to prevent DB logging before the DB is started. Fixes a rarely seen startup crash.
*Code cleanup. --HG-- branch : trunk
This commit is contained in:
@@ -31,8 +31,9 @@ INSTANTIATE_SINGLETON_1( Log );
|
||||
|
||||
Log::Log() :
|
||||
raLogfile(NULL), logfile(NULL), gmLogfile(NULL), charLogfile(NULL),
|
||||
dberLogfile(NULL), chatLogfile(NULL), m_gmlog_per_account(false), m_colored(false)
|
||||
, arenaLogFile(NULL)
|
||||
dberLogfile(NULL), chatLogfile(NULL), m_gmlog_per_account(false),
|
||||
m_enableLogDBLater(false), m_enableLogDB(false), m_colored(false),
|
||||
arenaLogFile(NULL)
|
||||
{
|
||||
Initialize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user