Core/Socket: Fixed merge mistake causing players to always be kicked after some time
This commit is contained in:
1 parent
d0176f985d
commit
2f5b8ade6c
1 file changed
+4
@@ -144,6 +144,10 @@ void WorldSocket::ReadDataHandler()
|
||||
break;
|
||||
}
|
||||
|
||||
// Our Idle timer will reset on any non PING opcodes.
|
||||
// Catches people idling on the login screen and any lingering ingame connections.
|
||||
_worldSession->ResetTimeOutTime();
|
||||
|
||||
// Copy the packet to the heap before enqueuing
|
||||
_worldSession->QueuePacket(new WorldPacket(std::move(packet)));
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user