diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp index 8e6ec88263..49602119de 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; } diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h index 975e738737..43468ef5e5 100644 --- a/src/server/authserver/Server/AuthSession.h +++ b/src/server/authserver/Server/AuthSession.h @@ -39,6 +39,7 @@ enum AuthStatus STATUS_LOGON_PROOF, STATUS_RECONNECT_PROOF, STATUS_AUTHED, + STATUS_WAITING_FOR_REALM_LIST, STATUS_CLOSED };