]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_userhost.cpp
Move most whois related code from the core into cmd_whois
[user/henk/code/inspircd.git] / src / commands / cmd_userhost.cpp
index af7d3ceca65ba34903dc6aef65a5ee98a7cc07a2..399de0b1a21d8dff83fbd73e4078d4bcde8045ba 100644 (file)
@@ -44,7 +44,7 @@ class CommandUserhost : public Command
 
 CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, User *user)
 {
-       std::string retbuf = std::string("302 ") + user->nick + " :";
+       std::string retbuf = "302 " + user->nick + " :";
 
        for (unsigned int i = 0; i < parameters.size(); i++)
        {