diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 03:52:49 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 03:52:49 +0000 |
commit | 4dbb86cfec7baabc1afd6768e64ec24fdb2dc204 (patch) | |
tree | c5569b3df184d22d869a4b3a2710b55965ce0096 /src/modules/m_timedbans.cpp | |
parent | f9ef4ebc9dc4fd46cdafcc76df644b4896251dac (diff) |
parameters are already std::string no need to cast here
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9638 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_timedbans.cpp')
-rw-r--r-- | src/modules/m_timedbans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_timedbans.cpp b/src/modules/m_timedbans.cpp index ea5ade8e9..78915e3ef 100644 --- a/src/modules/m_timedbans.cpp +++ b/src/modules/m_timedbans.cpp @@ -57,7 +57,7 @@ class CommandTban : public Command { if (!strcasecmp(i->data,parameters[2].c_str())) { - user->WriteServ("NOTICE "+std::string(user->nick)+" :The ban "+std::string(parameters[2])+" is already on the banlist of "+std::string(parameters[0])); + user->WriteServ("NOTICE "+std::string(user->nick)+" :The ban "+parameters[2]+" is already on the banlist of "+parameters[0]); return CMD_FAILURE; } } |