mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Merge pull request #2934 from def-/pr-show_ips2
Fix show_ips on non-SQL servers
This commit is contained in:
commit
cb2fa0800f
|
@ -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