mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-03 14:26:09 +00:00
add debug print in timeout ping update
This commit is contained in:
@@ -489,7 +489,8 @@ void TNetwork::TCPClient(const std::weak_ptr<TClient>& c) {
|
||||
if (c.expired())
|
||||
break;
|
||||
auto Client = c.lock();
|
||||
if (Client->GetStatus() <= -1) {
|
||||
if (Client->GetStatus() < 0) {
|
||||
debug("client status < 0, breaking client loop");
|
||||
break;
|
||||
}
|
||||
TServer::GlobalParser(c, TCPRcv(*Client), mPPSMonitor, *this);
|
||||
|
||||
Reference in New Issue
Block a user