diff options
| author | 2012-07-24 14:54:29 +0200 | |
|---|---|---|
| committer | 2012-10-12 03:57:39 +0200 | |
| commit | c8b41aa5d256d99eee67ec94492a94dc30e0ea35 (patch) | |
| tree | 251cb805f1fe25423ca245b4a9b6d5db67451fe8 /src/modules/m_dccallow.cpp | |
| parent | Fix unregistered users getting global notices, also fix certain commands work... (diff) | |
Remove superfluous std::string()s
Diffstat (limited to 'src/modules/m_dccallow.cpp')
| -rw-r--r-- | src/modules/m_dccallow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
