From c8b41aa5d256d99eee67ec94492a94dc30e0ea35 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Tue, 24 Jul 2012 14:54:29 +0200 Subject: Remove superfluous std::string()s --- src/commands/cmd_userhost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_userhost.cpp') 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++) { -- cgit v1.2.3