]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cycle.cpp
Forward port r9782: show IP (not unknown) for unauthed connections
[user/henk/code/inspircd.git] / src / modules / m_cycle.cpp
index 80be98223b5a703397a9b4b766fca03ae126d1b8..be57f8af1a9b1b30275128109be6ab2c45a6bc6c 100644 (file)
@@ -69,7 +69,7 @@ class CommandCycle : public Command
                }
                else
                {
-                       user->WriteNumeric(442, "%s %s :You're not on that channel", user->nick.c_str(), channel->name);
+                       user->WriteNumeric(442, "%s %s :You're not on that channel", user->nick.c_str(), channel->name.c_str());
                }
 
                return CMD_FAILURE;