This commit is contained in:
Aokromes committed 2017-02-02 04:45:49 +01:00
1 parent a6255746c8
commit 086c48586f
1 file changed
+1 -4
+1 -4
View File
@@ -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);