mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
silence unless the client has a legit station id
This commit is contained in:
@@ -59,9 +59,13 @@ void ClientConnection::onConnectionClosed()
|
||||
// client has disconnected
|
||||
if (m_clientId)
|
||||
{
|
||||
// if it is a 0 they are a dos faggot, most likely
|
||||
DEBUG_REPORT_LOG(true, ("Client %lu disconnected\n", m_stationId));
|
||||
LOG("LoginClientConnection", ("onConnectionClosed() for stationId (%lu) at IP (%s)", m_stationId, getRemoteAddress().c_str()));
|
||||
if (m_stationId)
|
||||
{
|
||||
DEBUG_REPORT_LOG(true, ("Client %lu disconnected\n", m_stationId));
|
||||
LOG("LoginClientConnection",
|
||||
("onConnectionClosed() for stationId (%lu) at IP (%s)", m_stationId, getRemoteAddress().c_str()));
|
||||
}
|
||||
|
||||
LoginServer::getInstance().removeClient(m_clientId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user