aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.cpp
diff options
context:
space:
mode:
authorleak <leak@bitmx.net>2014-05-31 15:58:59 +0200
committerleak <leak@bitmx.net>2014-05-31 15:58:59 +0200
commitbf6e58b8d44d3a4b78e9473df029caac74c68220 (patch)
tree44f513a9bc96e04a997ce98dfb2249436f2c37e3 /src/server/authserver/Server/AuthSession.cpp
parentf05d5406585fe2d69796b93bff73a21e1cd41a23 (diff)
Ditched ACE_Singleton in favor of C++11 like Singleton
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 a366f7d11f7..627e1fc470d 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -772,13 +772,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