]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_timedbans.cpp
Fix warning
[user/henk/code/inspircd.git] / src / modules / m_timedbans.cpp
index ea5ade8e91afe419b1904170a133c35e264d9a7e..78915e3ef5280956fd8a7933beb8c16f2d3b9ad0 100644 (file)
@@ -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;
                                        }
                                }