]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_nokicks.cpp
Convert channel::name to std::string, this was a beastie!
[user/henk/code/inspircd.git] / src / modules / m_nokicks.cpp
index dbfa0c2eab71fcd1af25835fb3dbff40b8d3fc3a..74701795ba6043cb7a29424beba5c06af5669e3f 100644 (file)
@@ -54,7 +54,7 @@ class ModuleNoKicks : public Module
                                else
                                {
                                        // nobody else can (not even opers with override, and founders)
-                                       source->WriteNumeric(484, "%s %s :Can't kick user %s from channel (+Q set)",source->nick.c_str(), channel->name,dest->nick.c_str());
+                                       source->WriteNumeric(484, "%s %s :Can't kick user %s from channel (+Q set)",source->nick.c_str(), channel->name.c_str(), dest->nick.c_str());
                                        return ACR_DENY;
                                }
                        }