mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Core/Socket): CMSG_WARDEN_DATA should not reset idle connections. (#14865)
This commit is contained in:
@@ -385,7 +385,10 @@ WorldSocket::ReadDataHandlerResult WorldSocket::ReadDataHandler()
|
||||
}
|
||||
|
||||
// Our Idle timer will reset on any non PING opcodes on login screen, allowing us to catch people idling.
|
||||
_worldSession->ResetTimeOutTime(false);
|
||||
if (packetToQueue->GetOpcode() != CMSG_WARDEN_DATA)
|
||||
{
|
||||
_worldSession->ResetTimeOutTime(false);
|
||||
}
|
||||
|
||||
// Copy the packet to the heap before enqueuing
|
||||
_worldSession->QueuePacket(packetToQueue);
|
||||
|
||||
Reference in New Issue
Block a user