mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
Fixed Case sensitivity Bug (BugTrack #88)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2308 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
b8e19012ce
commit
bd2e23d02b
@ -99,7 +99,7 @@ class ModuleChanFilter : public Module
|
||||
{
|
||||
for (SpamList::iterator i = spamlist->begin(); i != spamlist->end(); i++)
|
||||
{
|
||||
if (strstr(text.c_str(),i->c_str()))
|
||||
if (strstr(buffer,i->c_str()))
|
||||
{
|
||||
WriteServ(user->fd,"936 %s %s :Your message contained a censored word, and was blocked",user->nick, chan->name);
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user