diff --git a/SelfMute/scripting/SelfMute.sp b/SelfMute/scripting/SelfMute.sp index 6b1ab768..33e44fb6 100644 --- a/SelfMute/scripting/SelfMute.sp +++ b/SelfMute/scripting/SelfMute.sp @@ -129,7 +129,7 @@ public void OnLibraryRemoved(const char[] name) { OnLibrary(name, false); } public void OnClientPutInServer(int client) { g_SpecialMutes[client] = MUTE_NONE; - for(int i = 1; i < MaxClients; i++) + for(int i = 1; i <= MaxClients; i++) { SetIgnored(client, i, false); SetExempt(client, i, false); @@ -147,7 +147,7 @@ public void OnClientPutInServer(int client) public void OnClientDisconnect(int client) { g_SpecialMutes[client] = MUTE_NONE; - for(int i = 1; i < MaxClients; i++) + for(int i = 1; i <= MaxClients; i++) { SetIgnored(client, i, false); SetExempt(client, i, false);