Allow vote-kicking players with same auth level

This commit is contained in:
12pm 2019-02-08 16:57:39 +01:00
parent 4f33aceb1c
commit 4b1651f18c

View file

@ -1569,7 +1569,7 @@ void CGameContext::OnMessage(int MsgID, CUnpacker *pUnpacker, int ClientID)
return;
}
int KickedAuthed = Server()->GetAuthedState(KickID);
if(KickedAuthed > 0 && KickedAuthed >= Authed)
if(KickedAuthed > Authed)
{
SendChatTarget(ClientID, "You can't kick authorized players");
m_apPlayers[ClientID]->m_Last_KickVote = time_get();