fix(Core/Socket): CMSG_WARDEN_DATA should not reset idle connections. (#14865)
This commit is contained in:
parent
0ed7813e84
commit
61dec3f143
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue