sm_reskick_immunity access check should not check for commands.

This commit is contained in:
Ryan Stecker 2014-07-01 09:07:40 -05:00
parent 553b07b722
commit 9c1dd0565f

View File

@ -279,7 +279,7 @@ SelectKickClient()
new flags = GetUserFlagBits(i);
if (IsFakeClient(i) || flags & ADMFLAG_ROOT || flags & ADMFLAG_RESERVATION || CheckCommandAccess(i, "sm_reskick_immunity", ADMFLAG_RESERVATION, false))
if (IsFakeClient(i) || flags & ADMFLAG_ROOT || flags & ADMFLAG_RESERVATION || CheckCommandAccess(i, "sm_reskick_immunity", ADMFLAG_RESERVATION, true))
{
continue;
}