forgot to remove this

This commit is contained in:
DoganGFL 2018-12-06 21:05:55 +01:00
parent 6a9a9ee612
commit abf1464f85

View File

@ -32,14 +32,9 @@ public void OnPluginStart()
public Action CCC_OnChatMessage(int client, int author, const char[] message) 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++) 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; return Plugin_Handled;
} }