fixed a small bug in the ban command

This commit is contained in:
oy 2010-08-07 20:31:36 +02:00
parent ad9b32b741
commit 0a66e0586d

View file

@ -1198,7 +1198,7 @@ void CServer::ConBan(IConsole::IResult *pResult, void *pUser)
return;
}
NETADDR Addr = ((CServer *)pUser)->m_NetServer.ClientAddr(ClientId);
Addr = ((CServer *)pUser)->m_NetServer.ClientAddr(ClientId);
((CServer *)pUser)->BanAdd(Addr, Minutes*60);
}