#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}}
};
** 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];