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:
frostycoolslug 2005-12-10 02:59:25 +00:00
parent b8e19012ce
commit bd2e23d02b

View File

@ -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;