summaryrefslogtreecommitdiff
path: root/src/commands/cmd_userhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_userhost.cpp')
-rw-r--r--src/commands/cmd_userhost.cpp2
1 files changed, 1 insertions, 1 deletions
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<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++)
{