]> jfr.im git - solanum.git/blobdiff - modules/m_pong.c
modules: chase MsgBuf API change
[solanum.git] / modules / m_pong.c
index 9de629d3359e1a39b84f5791a34371ec6f8f80b6..a7c1158d8f42b0ac886ca1333d9a95fe0fb9ac79 100644 (file)
@@ -40,8 +40,8 @@
 #include "hash.h"
 #include "modules.h"
 
-static int mr_pong(struct Client *, struct Client *, int, const char **);
-static int ms_pong(struct Client *, struct Client *, int, const char **);
+static int mr_pong(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int ms_pong(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message pong_msgtab = {
        "PONG", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
@@ -52,7 +52,7 @@ mapi_clist_av1 pong_clist[] = { &pong_msgtab, NULL };
 DECLARE_MODULE_AV1(pong, NULL, NULL, pong_clist, NULL, NULL, "$Revision: 3181 $");
 
 static int
-ms_pong(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+ms_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Client *target_p;
        const char *destination;
@@ -99,7 +99,7 @@ ms_pong(struct Client *client_p, struct Client *source_p, int parc, const char *
 }
 
 static int
-mr_pong(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mr_pong(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        if(parc == 2 && !EmptyString(parv[1]))
        {