From abf1464f857c69d4db3a894e61083711ca3f8df3 Mon Sep 17 00:00:00 2001 From: DoganGFL Date: Thu, 6 Dec 2018 21:05:55 +0100 Subject: [PATCH] forgot to remove this --- AntiLenny/scripting/AntiLenny.sp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/AntiLenny/scripting/AntiLenny.sp b/AntiLenny/scripting/AntiLenny.sp index 18165692..28a4f193 100644 --- a/AntiLenny/scripting/AntiLenny.sp +++ b/AntiLenny/scripting/AntiLenny.sp @@ -32,14 +32,9 @@ public void OnPluginStart() public Action CCC_OnChatMessage(int client, int author, const char[] message) { - char lennies[192]; - strcopy(lennies, sizeof(lennies), message); - - CRemoveTags(lennies, 192); - for(int i = 0; i < 23; i++) { - if(g_bHideLennies[client] && StrContains(lennies, g_cLennies[i], false) != -1) + if(g_bHideLennies[client] && StrContains(message, g_cLennies[i], false) != -1) { return Plugin_Handled; }