mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Core/Opcodes: Re-enable error log for received opcodes marked as not allowed
--HG-- branch : trunk
This commit is contained in:
@@ -226,9 +226,7 @@ bool WorldSession::Update(uint32 diff)
|
||||
break;
|
||||
case STATUS_LOGGEDIN_OR_RECENTLY_LOGGOUT:
|
||||
if (!_player && !m_playerRecentlyLogout)
|
||||
{
|
||||
LogUnexpectedOpcode(packet, "the player has not logged in yet and not recently logout");
|
||||
}
|
||||
else
|
||||
{
|
||||
// not expected _player or must checked in packet hanlder
|
||||
@@ -270,11 +268,9 @@ bool WorldSession::Update(uint32 diff)
|
||||
LogUnprocessedTail(packet);
|
||||
break;
|
||||
case STATUS_NEVER:
|
||||
/*
|
||||
sLog.outError("SESSION: received not allowed opcode %s (0x%.4X)",
|
||||
LookupOpcodeName(packet->GetOpcode()),
|
||||
packet->GetOpcode());
|
||||
*/
|
||||
break;
|
||||
case STATUS_UNHANDLED:
|
||||
sLog.outDebug("SESSION: received not handled opcode %s (0x%.4X)",
|
||||
|
||||
Reference in New Issue
Block a user