Core/Misc: fix warning and misc codestyle fixes

This commit is contained in:
MitchesD committed 2015-11-26 19:28:53 +01:00
1 parent 28fb22b108
commit 3b90b0368a
7 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -341,7 +341,7 @@ bool WorldSession::Update(uint32 diff, PacketFilter& updater)
LogUnexpectedOpcode(packet, "STATUS_TRANSFER", "the player has not logged in yet");
else if (_player->IsInWorld())
LogUnexpectedOpcode(packet, "STATUS_TRANSFER", "the player is still in world");
else if(AntiDOS.EvaluateOpcode(*packet, currentTime))
else if (AntiDOS.EvaluateOpcode(*packet, currentTime))
{
sScriptMgr->OnPacketReceive(this, *packet);
(this->*opHandle.handler)(*packet);