]> jfr.im git - solanum.git/blobdiff - extensions/helpops.c
m_echotags: Oops...
[solanum.git] / extensions / helpops.c
index 316fa957f7df904c24d1ada1e09b4e3f662cc69d..2dad817ca8dd495df7e287de979bddddbc398300 100644 (file)
@@ -20,8 +20,8 @@ static void h_hdl_new_remote_user(struct Client *client_p);
 static void h_hdl_client_exit(hook_data_client_exit *hdata);
 static void h_hdl_umode_changed(hook_data_umode_changed *hdata);
 static void h_hdl_whois(hook_data_client *hdata);
-static int mo_dehelper(struct Client *, struct Client *, int, const char **);
-static int me_dehelper(struct Client *, struct Client *, int, const char **);
+static int mo_dehelper(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_dehelper(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static int do_dehelper(struct Client *source_p, struct Client *target_p);
 
 mapi_hfn_list_av1 helpops_hfnlist[] = {
@@ -37,13 +37,13 @@ mapi_hfn_list_av1 helpops_hfnlist[] = {
 static int UMODE_HELPOPS = 0;
 
 struct Message dehelper_msgtab = {
-       "DEHELPER", 0, 0, 0, MFLG_SLOW,
+       "DEHELPER", 0, 0, 0, 0,
        {mg_unreg, mg_not_oper, mg_not_oper, mg_ignore, {me_dehelper, 2}, {mo_dehelper, 2}}
 };
 
 mapi_clist_av1 helpops_clist[] = { &dehelper_msgtab, NULL };
 
-static int mo_dehelper(struct Client *client_p, struct Client *source_p, int parc, const char **parv)
+static int mo_dehelper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char **parv)
 {
        struct Client *target_p;
 
@@ -68,7 +68,7 @@ static int mo_dehelper(struct Client *client_p, struct Client *source_p, int par
        return 0;
 }
 
-static int me_dehelper(struct Client *client_p, struct Client *source_p, int parc, const char **parv)
+static int me_dehelper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char **parv)
 {
        struct Client *target_p = find_person(parv[1]);
        if(!target_p)