diff --git a/ChatFilter/scripting/ChatFilter.sp b/ChatFilter/scripting/ChatFilter.sp index 915136bb..be45583a 100644 --- a/ChatFilter/scripting/ChatFilter.sp +++ b/ChatFilter/scripting/ChatFilter.sp @@ -159,7 +159,7 @@ public Action CCC_OnChatMessage(int client, int author, const char[] message) int index = FindCharInString(message, '!', false); bool blennies = false; - for(int i = 0; i < NUMBEROFLENNIES; i++) + for(int i = 0; i < NUMBEROFLENNIES && !blennies; i++) { if(g_bHideLennies[client] && StrContains(message, g_cLennies[i], false) != -1) {