* 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"
#include "channel.h"
#include "client.h"
#include "hash.h"
-#include "irc_string.h"
+#include "match.h"
#include "ircd.h"
#include "numeric.h"
#include "s_user.h"
#include "parse.h"
#include "modules.h"
#include "packet.h"
-#include "sprintf_irc.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 **);
/*
* m_mode - MODE command handler
- * parv[0] - sender
* parv[1] - channel
*/
static int
case 'q':
banlist = &chptr->quietlist;
- mode_type = CHFL_QUIET;
+ mode_type = ModuleModes.CHFL_QUIET;
mems = ALL_MEMBERS;
break;