aboutsummaryrefslogtreecommitdiff
path: root/src/trinitycore
diff options
context:
space:
mode:
Diffstat (limited to 'src/trinitycore')
-rw-r--r--src/trinitycore/Master.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp
index 62446c4106c..a478f18daa9 100644
--- a/src/trinitycore/Master.cpp
+++ b/src/trinitycore/Master.cpp
@@ -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();