diff --git a/ExploitListener/scripting/exploit_listener.sp b/ExploitListener/scripting/exploit_listener.sp index 9fb552f4..4e547f94 100644 --- a/ExploitListener/scripting/exploit_listener.sp +++ b/ExploitListener/scripting/exploit_listener.sp @@ -1,6 +1,5 @@ #include - #pragma newdecls required #pragma semicolon 1 @@ -10,8 +9,6 @@ bool g_bEvil[MAXPLAYERS + 1]; bool g_bRecording; - - //---------------------------------------------------------------------------------------------------- // Purpose: //---------------------------------------------------------------------------------------------------- @@ -49,15 +46,15 @@ public Action Command_CommandListener(int client, const char[] command,int argc) } else { - if (!g_bEvil[client]) - return Plugin_Continue; - if (!IsValidClient(client)) return Plugin_Continue; if (!IsClientAuthorized(client)) return Plugin_Continue; + if (!g_bEvil[client]) + return Plugin_Continue; + char sBuffer[1024]; GetCmdArgString(sBuffer, sizeof(sBuffer)); @@ -131,5 +128,3 @@ stock int IsValidClient(int client, bool nobots = true) return IsClientInGame(client); } - -