X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands%2Fcmd_userhost.cpp;h=399de0b1a21d8dff83fbd73e4078d4bcde8045ba;hb=f86f450701c622122d590effdabfaec833b1e5bd;hp=af7d3ceca65ba34903dc6aef65a5ee98a7cc07a2;hpb=74ee9af96639323d852a8b15be72ee9974e0a826;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/commands/cmd_userhost.cpp b/src/commands/cmd_userhost.cpp index af7d3ceca..399de0b1a 100644 --- a/src/commands/cmd_userhost.cpp +++ b/src/commands/cmd_userhost.cpp @@ -44,7 +44,7 @@ class CommandUserhost : public Command CmdResult CommandUserhost::Handle (const std::vector& 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++) {