mirror of
https://github.com/mangosfour/server.git
synced 2025-12-22 04:37:01 +00:00
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:
parent
5424aed420
commit
67c609457f
4 changed files with 71 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue