Merge pull request #2934 from def-/pr-show_ips2

Fix show_ips on non-SQL servers
This commit is contained in:
Dennis Felsing 2020-09-27 10:38:37 +02:00 committed by GitHub
commit cb2fa0800f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 &&