]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_shun.cpp
m_namesx Handle colons in channel names properly
[user/henk/code/inspircd.git] / src / modules / m_shun.cpp
index fe1c41162b8300157bee3272557a7f44a7306951..197bbc1bf9823a26086c44f6b2c0978baf07113c 100644 (file)
@@ -158,7 +158,7 @@ class CommandShun : public Command
                        else
                        {
                                delete r;
-                               user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), expr.c_str());
+                               user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), target.c_str());
                                return CMD_FAILURE;
                        }
                }