]> 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 42df7ed2b8a0ebb75496b56e7eb8372c5342b7d6..759a71d0eaf53b6fc24d1eb6f7825a174cb7cc2f 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_mode.c 1006 2006-03-09 15:32:14Z nenolod $
  */
 
 #include "stdinc.h"
@@ -42,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 **);
@@ -259,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;