mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed a small bug in the ban command
This commit is contained in:
parent
ad9b32b741
commit
0a66e0586d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue