Skip to content

Commit

Permalink
Make chat filter case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Dec 29, 2023
1 parent 81cc588 commit 5f926cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/client/components/chillerbot/chathelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ bool CChatHelper::FilterChat(int ClientID, int Team, const char *pLine)
{
if(aChatFilter[0] == '\0')
continue;
if(str_find(pLine, aChatFilter))
if(str_find_nocase(pLine, aChatFilter))
return true;
}
int Spam = IsSpam(ClientID, Team, pLine);
Expand Down

0 comments on commit 5f926cb

Please sign in to comment.