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/modules/m_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 0cea96154..10b1b98ac 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -149,7 +149,7 @@ class CommandDccallow : public Command } } - std::string mask = std::string(target->nick)+"!"+std::string(target->ident)+"@"+std::string(target->dhost); + std::string mask = target->nick+"!"+target->ident+"@"+target->dhost; ConfigReader Conf; std::string default_length = Conf.ReadValue("dccallow", "length", 0); -- cgit v1.3.1-10-gc9f91