]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_cycle.cpp
Add a typedef for LocalUserList
[user/henk/code/inspircd.git] / src / modules / m_cycle.cpp
index 1eb3c18994bd506a695aa0890a5035879334e913..10b593fdd31acf3ec90f8882ac5a693c94290e5d 100644 (file)
@@ -60,7 +60,7 @@ class CommandCycle : public Command
                                if (channel->GetPrefixValue(user) < VOICE_VALUE && channel->IsBanned(user))
                                {
                                        /* banned, boned. drop the message. */
-                                       user->WriteServ("NOTICE "+std::string(user->nick)+" :*** You may not cycle, as you are banned on channel " + channel->name);
+                                       user->WriteServ("NOTICE "+user->nick+" :*** You may not cycle, as you are banned on channel " + channel->name);
                                        return CMD_FAILURE;
                                }