Core/Socket: Fixed merge mistake causing players to always be kicked after some time

This commit is contained in:
Shauren committed 2014-08-16 11:23:26 +02:00
1 parent d0176f985d
commit 2f5b8ade6c
1 file changed
+4
+4
View File
@@ -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;