From bd2e23d02b4ba132cd1a187e8572de6b87622797 Mon Sep 17 00:00:00 2001 From: frostycoolslug Date: Sat, 10 Dec 2005 02:59:25 +0000 Subject: Fixed Case sensitivity Bug (BugTrack #88) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2308 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chanfilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_chanfilter.cpp b/src/modules/m_chanfilter.cpp index fc9cac2e0..112bcb5c4 100644 --- a/src/modules/m_chanfilter.cpp +++ b/src/modules/m_chanfilter.cpp @@ -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; -- cgit v1.2.3