mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Remove extraneous check
Should not fire this code if that cvar is set.
This commit is contained in:
parent
71d0332dca
commit
5af364f325
@ -578,7 +578,7 @@ void CRConServer::Disconnect(const char* szReason) // NETMGR
|
||||
void CRConServer::Disconnect(const int nIndex, const char* szReason) // NETMGR
|
||||
{
|
||||
CConnectedNetConsoleData& data = m_Socket.GetAcceptedSocketData(nIndex);
|
||||
if (data.m_bAuthorized || sv_rcon_debug->GetBool())
|
||||
if (data.m_bAuthorized)
|
||||
{
|
||||
// Inform server owner when authenticated connection has been closed.
|
||||
netadr_t netAdr = m_Socket.GetAcceptedSocketAddress(nIndex);
|
||||
|
Loading…
x
Reference in New Issue
Block a user