Core/Auth: Reverted part of fb43a92cc2 - session key is still needed after logging in to be able to switch realms

This commit is contained in:
Shauren
2013-02-08 01:03:56 +01:00
parent fb43a92cc2
commit b6e56e42ea
6 changed files with 3 additions and 10 deletions
-6
View File
@@ -933,12 +933,6 @@ int WorldSocket::HandleAuthSession(WorldPacket& recvPacket)
// NOTE ATM the socket is single-threaded, have this in mind ...
ACE_NEW_RETURN(m_Session, WorldSession(id, this, AccountTypes(security), expansion, mutetime, locale, recruiter, isRecruiter), -1);
stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_CLEAR_SESSIONKEY);
stmt->setUInt32(0, id);
LoginDatabase.Execute(stmt);
m_Crypt.Init(&k);
m_Session->LoadGlobalAccountData();