]> jfr.im git - solanum.git/blobdiff - modules/core/m_part.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / core / m_part.c
index 17fac283ebe9196d9e26fb70479e6e172b2ec31e..95e3e66f7058725e36e6b1bb26e556574e227a7c 100644 (file)
 #include "inline/stringops.h"
 #include "hook.h"
 
-static int m_part(struct Client *, struct Client *, int, const char **);
+static int m_part(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message part_msgtab = {
-       "PART", 0, 0, 0, MFLG_SLOW,
+       "PART", 0, 0, 0, 0,
        {mg_unreg, {m_part, 2}, {m_part, 2}, mg_ignore, mg_ignore, {m_part, 2}}
 };
 
@@ -66,7 +66,7 @@ static int do_message_hook(struct Client *source_p, struct Channel *chptr, const
 **      parv[2] = reason
 */
 static int
-m_part(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+m_part(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        char *p, *name;
        char reason[REASONLEN + 1];