From 086c48586f05630a11c7c59eab34ba9f010b3be5 Mon Sep 17 00:00:00 2001 From: Aokromes Date: Thu, 2 Feb 2017 04:45:49 +0100 Subject: [PATCH] typo fix --- src/server/bnetserver/Server/Session.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/server/bnetserver/Server/Session.cpp b/src/server/bnetserver/Server/Session.cpp index c06121018a..0ffc1f50dd 100644 --- a/src/server/bnetserver/Server/Session.cpp +++ b/src/server/bnetserver/Server/Session.cpp @@ -335,7 +335,7 @@ void Battlenet::Session::HandleResumeRequest(Authentication::ResumeRequest const stmt->setString(0, login); stmt->setString(1, resumeRequest.GameAccountName); - _queryProcessor.AddQuery(LoginDatabase.AsyncQuery(stmt).WithPreparedCallback(std::bind(&Battlenet::Session::CheckIpCallback, this, std::placeholders::_1))); + _queryProcessor.AddQuery(LoginDatabase.AsyncQuery(stmt).WithPreparedCallback(std::bind(&Battlenet::Session::HandleResumeRequestCallback, this, std::placeholders::_1))); } void Battlenet::Session::HandleResumeRequestCallback(PreparedQueryResult result) @@ -431,9 +431,6 @@ void Battlenet::Session::HandleConnectionClosing(Connection::ConnectionClosing c void Battlenet::Session::HandleListSubscribeRequest(WoWRealm::ListSubscribeRequest const& /*listSubscribeRequest*/) { - if (_subscribedToRealmListUpdates || _queryCallback) - return; - PreparedStatement* stmt = LoginDatabase.GetPreparedStatement(LOGIN_SEL_BNET_CHARACTER_COUNTS); stmt->setUInt32(0, _gameAccountInfo->Id);