]> jfr.im git - solanum.git/blobdiff - modules/m_encap.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_encap.c
index 3cbfcccba14f4415896a6508928552e45195c03f..b6cdef7d3e3f8c662ff08e35aab94ec9ee577e40 100644 (file)
 #include "parse.h"
 #include "modules.h"
 
-static int ms_encap(struct Client *client_p, struct Client *source_p,
+static int ms_encap(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
                     int parc, const char *parv[]);
 
 struct Message encap_msgtab = {
-       "ENCAP", 0, 0, 0, MFLG_SLOW,
+       "ENCAP", 0, 0, 0, 0,
        {mg_ignore, mg_ignore, {ms_encap, 3}, {ms_encap, 3}, mg_ignore, mg_ignore}
 };
 
@@ -61,7 +61,7 @@ DECLARE_MODULE_AV1(encap, NULL, NULL, encap_clist, NULL, NULL, "$Revision: 254 $
  * parv[3] - parameters
  */
 static int
-ms_encap(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+ms_encap(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        char buffer[BUFSIZE];
        char *ptr;
@@ -101,7 +101,7 @@ ms_encap(struct Client *client_p, struct Client *source_p, int parc, const char
 
        /* if it matches us, find a matching handler and call it */
        if(match(parv[1], me.name))
-               handle_encap(client_p, source_p, parv[2], parc - 2, parv + 2);
+               handle_encap(msgbuf_p, client_p, source_p, parv[2], parc - 2, parv + 2);
 
        return 0;
 }