]> jfr.im git - solanum.git/blobdiff - modules/m_knock.c
modules: chase MsgBuf API change
[solanum.git] / modules / m_knock.c
index 8235c48abb5c5124de10ffb69e7b042e0b4cfe8f..7b124fb3d6390875a7b80ec0846a8cf5dd9abe9f 100644 (file)
@@ -38,7 +38,7 @@
 #include "s_serv.h"
 #include "supported.h"
 
-static int m_knock(struct Client *, struct Client *, int, const char **);
+static int m_knock(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message knock_msgtab = {
        "KNOCK", 0, 0, 0, MFLG_SLOW,
@@ -75,7 +75,7 @@ DECLARE_MODULE_AV1(knock, _modinit, _moddeinit, knock_clist, NULL, NULL, "$Revis
  *  <anonymous>
  */
 static int
-m_knock(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+m_knock(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Channel *chptr;
        char *p, *name;