From 0a66e0586d3cc46afbbb790cc6651fc16da3579c Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 7 Aug 2010 20:31:36 +0200 Subject: [PATCH] fixed a small bug in the ban command --- src/engine/server/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/server/server.cpp b/src/engine/server/server.cpp index 0fd314d02..bf7c5086e 100644 --- a/src/engine/server/server.cpp +++ b/src/engine/server/server.cpp @@ -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); }