Fix AuthChallenge, AuthSession, AuthResponse.

New opcode handler definition method.

Thanks: Lightguard, Netcho, Fabi

Signed-off-by: Salja <salja2012@hotmail.de>
This commit is contained in:
Salja 2012-08-02 15:42:30 +02:00 committed by Antz
parent 5424aed420
commit 67c609457f
4 changed files with 71 additions and 18 deletions

View file

@ -133,6 +133,9 @@ void WorldSession::SendPacket(WorldPacket const* packet)
if (!m_Socket)
return;
if (packet->GetOpcode() >= NUM_MSG_TYPES && packet->GetOpcode() != MSG_WOW_CONNECTION)
return;
#ifdef MANGOS_DEBUG
// Code for network use statistic