]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/core/m_mode.c
Fix order on channel_mlock() call.
[irc/rqf/shadowircd.git] / modules / core / m_mode.c
index 737c1bed5abf4cc0fe8a7edd739ea70e8898a42e..759a71d0eaf53b6fc24d1eb6f7825a174cb7cc2f 100644 (file)
@@ -41,6 +41,8 @@
 #include "packet.h"
 #include "s_newconf.h"
 
+struct module_modes ModuleModes;
+
 static int m_mode(struct Client *, struct Client *, int, const char **);
 static int ms_mode(struct Client *, struct Client *, int, const char **);
 static int ms_tmode(struct Client *, struct Client *, int, const char **);
@@ -258,7 +260,7 @@ ms_bmask(struct Client *client_p, struct Client *source_p, int parc, const char
 
        case 'q':
                banlist = &chptr->quietlist;
-               mode_type = CHFL_QUIET;
+               mode_type = ModuleModes.CHFL_QUIET;
                mems = ALL_MEMBERS;
                break;