diff --git a/src/Client.cpp b/src/Client.cpp index 32d8df6..7459855 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -79,6 +79,5 @@ int TClient::SecondsSinceLastPing() { auto seconds = std::chrono::duration_cast( std::chrono::high_resolution_clock::now() - mLastPingTime) .count(); - debug("ping time for " + GetName() + ": " + std::to_string(seconds)); return seconds; } diff --git a/src/TServer.cpp b/src/TServer.cpp index e1a8bf0..47a839c 100644 --- a/src/TServer.cpp +++ b/src/TServer.cpp @@ -95,7 +95,6 @@ void TServer::GlobalParser(std::weak_ptr 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) {