]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_ison.cpp
m_spanningtree Remove unneeded #includes
[user/henk/code/inspircd.git] / src / commands / cmd_ison.cpp
index 1a50239eeb2ff98d2536a57ef27f1feea0abc607..227f1b3edebb10d06b94ecedec271e6f8f00b5d6 100644 (file)
@@ -48,7 +48,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
 {
        std::map<User*,User*> ison_already;
        User *u;
-       std::string reply = std::string("303 ") + user->nick + " :";
+       std::string reply = "303 " + user->nick + " :";
 
        for (unsigned int i = 0; i < parameters.size(); i++)
        {
@@ -62,7 +62,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
                        if (reply.length() > 450)
                        {
                                user->WriteServ(reply);
-                               reply = std::string("303 ") + user->nick + " :";
+                               reply = "303 " + user->nick + " :";
                        }
                        ison_already[u] = u;
                }
@@ -87,7 +87,7 @@ CmdResult CommandIson::Handle (const std::vector<std::string>& parameters, User
                                                if (reply.length() > 450)
                                                {
                                                        user->WriteServ(reply);
-                                                       reply = std::string("303 ") + user->nick + " :";
+                                                       reply = "303 " + user->nick + " :";
                                                }
                                                ison_already[u] = u;
                                        }