]> jfr.im git - solanum.git/blobdiff - modules/m_services.c
buildsystem: honor $DESTDIR in install-data-hook
[solanum.git] / modules / m_services.c
index 47e76ce5c06b9509f2535dfbfe48e0e0bd750301..a27201460cf9960c3e3923eaaea63877b54c25d5 100644 (file)
@@ -55,10 +55,10 @@ static void _moddeinit(void);
 static void mark_services(void);
 static void unmark_services(void);
 
-static int me_su(struct Client *, struct Client *, int, const char **);
-static int me_login(struct Client *, struct Client *, int, const char **);
-static int me_rsfnc(struct Client *, struct Client *, int, const char **);
-static int me_nickdelay(struct Client *, struct Client *, int, const char **);
+static int me_su(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_login(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_rsfnc(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_nickdelay(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 static void h_svc_server_introduced(hook_data_client *);
 static void h_svc_whois(hook_data_client *);
@@ -67,19 +67,19 @@ static void h_svc_conf_read_start(void *);
 static void h_svc_conf_read_end(void *);
 
 struct Message su_msgtab = {
-       "SU", 0, 0, 0, MFLG_SLOW,
+       "SU", 0, 0, 0, 0,
        {mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_su, 2}, mg_ignore}
 };
 struct Message login_msgtab = {
-       "LOGIN", 0, 0, 0, MFLG_SLOW,
+       "LOGIN", 0, 0, 0, 0,
        {mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_login, 2}, mg_ignore}
 };
 struct Message rsfnc_msgtab = {
-       "RSFNC", 0, 0, 0, MFLG_SLOW,
+       "RSFNC", 0, 0, 0, 0,
        {mg_ignore, mg_ignore, mg_ignore, mg_ignore, {me_rsfnc, 4}, mg_ignore}
 };
 struct Message nickdelay_msgtab = {
-       "NICKDELAY", 0, 0, 0, MFLG_SLOW,
+       "NICKDELAY", 0, 0, 0, 0,
        {mg_unreg, mg_ignore, mg_ignore, mg_ignore, {me_nickdelay, 3}, mg_ignore}
 };
 
@@ -114,7 +114,7 @@ _moddeinit(void)
 }
 
 static int
-me_su(struct Client *client_p, struct Client *source_p,
+me_su(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
        int parc, const char *parv[])
 {
        struct Client *target_p;
@@ -147,7 +147,7 @@ me_su(struct Client *client_p, struct Client *source_p,
 }
 
 static int
-me_login(struct Client *client_p, struct Client *source_p,
+me_login(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
        int parc, const char *parv[])
 {
        if(!IsPerson(source_p))
@@ -158,7 +158,7 @@ me_login(struct Client *client_p, struct Client *source_p,
 }
 
 static int
-me_rsfnc(struct Client *client_p, struct Client *source_p,
+me_rsfnc(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
        int parc, const char *parv[])
 {
        struct Client *target_p;
@@ -267,7 +267,7 @@ doit:
 **      parv[2] = nick
 */
 static int
-me_nickdelay(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+me_nickdelay(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        int duration;
        struct nd_entry *nd;