diff options
Diffstat (limited to 'src/trinityrealm/Main.cpp')
-rw-r--r-- | src/trinityrealm/Main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/trinityrealm/Main.cpp b/src/trinityrealm/Main.cpp index aba65e06c9a..c023e84b5b4 100644 --- a/src/trinityrealm/Main.cpp +++ b/src/trinityrealm/Main.cpp @@ -61,7 +61,6 @@ void UnhookSignals(); void HookSignals(); bool stopEvent = false; ///< Setting it to true stops the server -RealmList m_realmList; ///< Holds the list of realms for this server DatabaseType loginDatabase; ///< Accessor to the realm server database @@ -194,8 +193,8 @@ extern int main(int argc, char **argv) } ///- Get the list of realms for the server - m_realmList.Initialize(sConfig.GetIntDefault("RealmsStateUpdateDelay", 20)); - if (m_realmList.size() == 0) + sRealmList->Initialize(sConfig.GetIntDefault("RealmsStateUpdateDelay", 20)); + if (sRealmList->size() == 0) { sLog.outError("No valid realms specified."); return 1; |