summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-15 15:49:33 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-15 15:49:33 +0000
commit157ee45b8e75d948279af8895a623ff11e4a5d69 (patch)
tree0268a649b8f936dce57ee3040fbbca5fee03c44e
parent8edd8f730d8e7781b1d3df25c61b1e123fad7a4f (diff)
Fixed a minor parameter bug (display glitch, wrong censor word in an error)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1104 e03df62e-2008-0410-955e-edbf42e46eb7
-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 810c0da02..c420027f6 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -138,7 +138,7 @@ class ModuleChanFilter : public Module
{
if (*i == params[0])
{
- WriteServ(user->fd,"937 %s %s :The word %s is already on the spamfilter list",user->nick, chan->name,i->c_str());
+ WriteServ(user->fd,"937 %s %s :The word %s is already on the spamfilter list",user->nick, chan->name,params[0]);
return -1;
}
}