add print on ping

This commit is contained in:
Lion Kortlepel authored and Anonymous275 committed 2021-03-18 23:44:14 +02:00
1 parent e04a569e33
commit 32038046d5
2 files changed
+2

No files matched your search

+1
View File
@@ -95,6 +95,7 @@ void TServer::GlobalParser(std::weak_ptr<TClient> Client, std::string Packet, TP
TCPServer.Respond(*LockedClient, ("p"), false);
TCPServer.UpdatePlayer(*LockedClient);
LockedClient->UpdatePingTime();
debug("ping received from " + LockedClient->GetName());
return;
case 'O':
if (Packet.length() > 1000) {