]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/channels.cpp
Add Module::init() for correct exception handling during hook registration
[user/henk/code/inspircd.git] / src / channels.cpp
index 8d145aa16f7c9d8b49ae9576d1560411bf5690aa..7c60b54f0ba85d27ac0e8d7dae7d5ae4eae65a12 100644 (file)
@@ -101,7 +101,7 @@ int Channel::SetTopic(User *u, std::string &ntopic, bool forceset)
                                }
                                if ((this->IsModeSet('t')) && (this->GetPrefixValue(u) < HALFOP_VALUE))
                                {
-                                       u->WriteNumeric(482, "%s %s :You must be at least a half-operator to change the topic on this channel", u->nick.c_str(), this->name.c_str());
+                                       u->WriteNumeric(482, "%s %s :You do not have access to change the topic on this channel", u->nick.c_str(), this->name.c_str());
                                        return CMD_FAILURE;
                                }
                        }