Merge pull request #57 from VoiDeD/reservedslots-override-fix
sm_reskick_immunity access check should not check for commands (r=psychonic).
This commit is contained in:
commit
0e015027fc
@ -279,7 +279,7 @@ SelectKickClient()
|
|||||||
|
|
||||||
new flags = GetUserFlagBits(i);
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user