aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2017-07-12 19:22:53 +0200
committerShauren <shauren.trinity@gmail.com>2017-07-12 19:22:53 +0200
commitfba87d3f337b538fe9f69ab9ec50f47dcfabeabe (patch)
treee112a3c43945f46957743f2f68cc54ec630ac369 /src/server/authserver/Server/AuthSession.cpp
parent432dd7c25d1bfb83fe267e6aa5239eb4a5c23c1f (diff)
Core/Auth: Prevent queueing more than one realmlist query at the same time
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r--src/server/authserver/Server/AuthSession.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp
index 8e6ec882636..49602119de0 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -785,6 +785,7 @@ bool AuthSession::HandleRealmList()
stmt->setUInt32(0, _accountInfo.Id);
_queryProcessor.AddQuery(LoginDatabase.AsyncQuery(stmt).WithPreparedCallback(std::bind(&AuthSession::RealmListCallback, this, std::placeholders::_1)));
+ _status = STATUS_WAITING_FOR_REALM_LIST;
return true;
}