* Ensure 100% that DB logging is enabled/disabled as expected.

--HG--
branch : trunk
This commit is contained in:
XTZGZoReX committed 2009-04-07 18:42:20 +02:00
1 parent c6b6a72956
commit 760e31b249
3 files changed
+13

No files matched your search

+6
View File
@@ -464,8 +464,14 @@ bool Master::_StartDB()
{
// everything successful - set var to enable DB logging once startup finished.
sLog.SetLogDBLater(true);
sLog.SetLogDB(false);
sLog.SetRealmID(realmID);
}
else
{
sLog.SetLogDBLater(false);
sLog.SetLogDB(false);
}
///- Clean the database before starting
clearOnlineAccounts();