summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-10 02:59:25 +0000
committerfrostycoolslug <frostycoolslug@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-10 02:59:25 +0000
commitbd2e23d02b4ba132cd1a187e8572de6b87622797 (patch)
tree4a5cfe1d71ecbd2c9965e73090f3820de8f88065 /src
parentb8e19012ce14ac842e8c9288d75d0c37cfddd658 (diff)
Fixed Case sensitivity Bug (BugTrack #88)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2308 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chanfilter.cpp2
1 files changed, 1 insertions, 1 deletions
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;