]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_operchans.cpp
Rename quietban to muteban, change character to +b m:, this way it fits with cmode...
[user/henk/code/inspircd.git] / src / modules / m_operchans.cpp
index 020e097ffca126d58467c0f793612542acc9f042..3b28eeb38deaccca3d050ddbdc0e9f544497a227 100644 (file)
@@ -69,7 +69,7 @@ class ModuleOperChans : public Module
                        {
                                if (chan->IsModeSet('O'))
                                {
-                                       user->WriteNumeric(520, "%s %s :Only IRC operators may join the channel %s (+O is set)",user->nick.c_str(), chan->name.c_str(), chan->name.c_str());
+                                       user->WriteNumeric(ERR_CANTJOINOPERSONLY, "%s %s :Only IRC operators may join the channel %s (+O is set)",user->nick.c_str(), chan->name.c_str(), chan->name.c_str());
                                        return 1;
                                }
                        }