]> jfr.im git - solanum.git/blobdiff - extensions/m_omode.c
Remove old .indent.pro files
[solanum.git] / extensions / m_omode.c
index d6e5dfbc3da0293a6e796b3fd2d5de00d0bc9dd3..3fd9ce5282e080530083f7e373278f737236c094 100644 (file)
 #include "messages.h"
 #include "logger.h"
 
-static int mo_omode(struct Client *, struct Client *, int, const char **);
+static int mo_omode(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message omode_msgtab = {
-       "OMODE", 0, 0, 0, MFLG_SLOW,
+       "OMODE", 0, 0, 0, 0,
        {mg_unreg, mg_not_oper, mg_ignore, mg_ignore, mg_ignore, {mo_omode, 3}}
 };
 
@@ -60,7 +60,7 @@ DECLARE_MODULE_AV1(omode, NULL, NULL, omode_clist, NULL, NULL, "$Revision: 3121
  * parv[1] - channel
  */
 static int
-mo_omode(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mo_omode(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Channel *chptr = NULL;
        struct membership *msptr;