From 959b11b13dd255e50afd4ca0edb6bb3d0377b738 Mon Sep 17 00:00:00 2001 From: GreYFoX Date: Wed, 20 Jul 2011 02:41:11 +0200 Subject: [PATCH] Admin protection closes #59 --- src/game/server/gamecontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index 212047478..5413aa6f5 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -1908,7 +1908,7 @@ void CGameContext::OnSetAuthed(int ClientID, int Level) m_apPlayers[ClientID]->m_Authed = Level; char aBuf[512], aIP[20]; pServ->GetClientIP(ClientID, aIP, sizeof(aIP)); - str_format(aBuf, sizeof(aBuf), "ban %s:0 %d Banned by vote", aIP, g_Config.m_SvVoteKickBantime); + str_format(aBuf, sizeof(aBuf), "ban %s %d Banned by vote", aIP, g_Config.m_SvVoteKickBantime); if(!str_comp_nocase(m_aVoteCommand, aBuf) && Level > 0) { m_VoteEnforce = CGameContext::VOTE_ENFORCE_NO;