]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chanfilter.cpp
Fixed a minor bug in text formatting of errors
[user/henk/code/inspircd.git] / src / modules / m_chanfilter.cpp
index 810c0da023bca06f4808c9704e2a72d254488671..24cec2b9972904d8fc5ce076976c7b94d802706a 100644 (file)
@@ -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].c_str());
                                                        return -1;
                                                }
                                        }