sm_reskick_immunity access check should not check for commands.
This commit is contained in:
parent
553b07b722
commit
9c1dd0565f
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user