summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-22 18:47:22 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-03-22 18:47:22 +0000
commit097e4e9a4c0d8a616a869493b841445e9942400d (patch)
tree20125a28d06e29dd957e983c24185217b584f81f
parentfa2d0dd4f0e96cf0e937cc3e79b68519e15f2fb0 (diff)
No need to show the censored word twice! :)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11245 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 3bc24c5c9..2e7e601a2 100644
--- a/src/modules/m_chanfilter.cpp
+++ b/src/modules/m_chanfilter.cpp
@@ -106,7 +106,7 @@ class ModuleChanFilter : public Module
if (hidemask)
user->WriteNumeric(404, "%s %s :Cannot send to channel (your message contained a censored word)",user->nick.c_str(), chan->name.c_str());
else
- user->WriteNumeric(404, "%s %s %s :Cannot send to channel (your message contained a censored word: %s)",user->nick.c_str(), chan->name.c_str(), i->mask.c_str(), i->mask.c_str());
+ user->WriteNumeric(404, "%s %s %s :Cannot send to channel (your message contained a censored word)",user->nick.c_str(), chan->name.c_str(), i->mask.c_str());
return 1;
}
}