Skip to content

Commit

Permalink
AND not OR. (splewis#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cruze03 authored and splewis committed Sep 18, 2019
1 parent 849cf3c commit 6847231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripting/get5.sp
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ public void OnClientAuthorized(int client, const char[] auth) {
}

if (g_GameState == Get5State_None && g_KickClientsWithNoMatchCvar.BoolValue) {
if (!g_KickClientImmunity.BoolValue ||
if (!g_KickClientImmunity.BoolValue &&
!CheckCommandAccess(client, "get5_kickcheck", ADMFLAG_CHANGEMAP)) {
KickClient(client, "%t", "NoMatchSetupInfoMessage");
}
Expand Down

0 comments on commit 6847231

Please sign in to comment.