mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix show_ips on non-SQL servers
Mistake was introduced in 7c31a15c93
We didn't notice since official servers are SQL, except Block servers,
and we just started moderating them a bit.
This commit is contained in:
parent
6bb8cda483
commit
b0b47e1286
|
@ -3107,8 +3107,6 @@ void CServer::ConLogout(IConsole::IResult *pResult, void *pUser)
|
|||
|
||||
void CServer::ConShowIps(IConsole::IResult *pResult, void *pUser)
|
||||
{
|
||||
if(!g_Config.m_SvUseSQL)
|
||||
return;
|
||||
CServer *pServer = (CServer *)pUser;
|
||||
|
||||
if(pServer->m_RconClientID >= 0 && pServer->m_RconClientID < MAX_CLIENTS &&
|
||||
|
|
Loading…
Reference in a new issue