diff options
author | megamage <none@none> | 2009-01-04 17:14:34 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-01-04 17:14:34 -0600 |
commit | 1622cd26a1f94732f7ddb0ae824cf5fa77c4e276 (patch) | |
tree | 291702beff04571aa731ee03b8f3bdb434ef2f98 /src/realmd/RealmList.cpp | |
parent | 13cfff2327247c20ec4c0bcc51fa8cfb2594daff (diff) |
*Add some missing contents in previous commits.
--HG--
branch : trunk
Diffstat (limited to 'src/realmd/RealmList.cpp')
-rw-r--r-- | src/realmd/RealmList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/realmd/RealmList.cpp b/src/realmd/RealmList.cpp index 97fdfbdd91f..32c0cbc12c1 100644 --- a/src/realmd/RealmList.cpp +++ b/src/realmd/RealmList.cpp @@ -29,7 +29,7 @@ INSTANTIATE_SINGLETON_1( RealmList ); -extern DatabaseType dbRealmServer; +extern DatabaseType LoginDatabase; RealmList::RealmList( ) : m_UpdateInterval(0), m_NextUpdateTime(time(NULL)) { @@ -82,7 +82,7 @@ void RealmList::UpdateRealms(bool init) { sLog.outDetail("Updating Realm List..."); - QueryResult *result = dbRealmServer.Query( "SELECT id, name, address, port, icon, color, timezone, allowedSecurityLevel, population FROM realmlist WHERE color <> 3 ORDER BY name" ); + QueryResult *result = LoginDatabase.Query( "SELECT id, name, address, port, icon, color, timezone, allowedSecurityLevel, population FROM realmlist WHERE color <> 3 ORDER BY name" ); ///- Circle through results and add them to the realm map if(result) |