aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.cpp
diff options
context:
space:
mode:
authorleak <leak@bitmx.net>2014-07-20 00:39:43 +0200
committerleak <leak@bitmx.net>2014-07-20 00:40:08 +0200
commitdce92611f3ff33e7db0a7234d611f5bffb0cc45f (patch)
tree19f51fac4cccdac6d4e81466a5e643c244239106 /src/server/authserver/Server/AuthSession.cpp
parentd2c120f2c2920760c56f1c2d1954bb28b9f2b678 (diff)
Refactored singletons to enable proper deconstruction during shutdown
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r--src/server/authserver/Server/AuthSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp
index f518dc7593b..987d6dca03f 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -797,13 +797,13 @@ bool AuthSession::_HandleRealmList()
uint32 id = fields[0].GetUInt32();
// Update realm list if need
- sRealmList.UpdateIfNeed();
+ sRealmList->UpdateIfNeed();
// Circle through realms in the RealmList and construct the return packet (including # of user characters in each realm)
ByteBuffer pkt;
size_t RealmListSize = 0;
- for (RealmList::RealmMap::const_iterator i = sRealmList.begin(); i != sRealmList.end(); ++i)
+ for (RealmList::RealmMap::const_iterator i = sRealmList->begin(); i != sRealmList->end(); ++i)
{
const Realm &realm = i->second;
// don't work with realms which not compatible with the client