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:
Nicholas Hastings 2014-07-01 10:18:04 -04:00
commit 0e015027fc

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;
}