]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_remove.cpp
m_spanningtree SVSNICK needs 3 parameters
[user/henk/code/inspircd.git] / src / modules / m_remove.cpp
index b84a906eb44112bfc292a3fa09f773a60b1f4e88..454780d03a879a30877b71e7d9a9a18c4df988ec 100644 (file)
@@ -117,7 +117,7 @@ class RemoveBase : public Command
                                }
 
                                /* Build up the part reason string. */
-                               reason = std::string("Removed by ") + user->nick + ": " + reasonparam;
+                               reason = "Removed by " + user->nick + ": " + reasonparam;
 
                                channel->WriteChannelWithServ(ServerInstance->Config->ServerName.c_str(), "NOTICE %s :%s removed %s from the channel", channel->name.c_str(), user->nick.c_str(), target->nick.c_str());
                                target->WriteServ("NOTICE %s :*** %s removed you from %s with the message: %s", target->nick.c_str(), user->nick.c_str(), channel->name.c_str(), reasonparam.c_str());