#include "hash.h"
#include "common.h"
#include "hash.h"
-#include "irc_string.h"
+#include "match.h"
#include "ircd.h"
#include "numeric.h"
#include "s_serv.h"
#include "parse.h"
#include "modules.h"
-static int me_snote(struct Client *, struct Client *, int, const char **);
+static int me_snote(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
struct Message snote_msgtab = {
- "SNOTE", 0, 0, 0, MFLG_SLOW,
+ "SNOTE", 0, 0, 0, 0,
{mg_ignore, mg_not_oper, mg_ignore, mg_ignore, {me_snote, 3}, mg_ignore}
};
/*
* me_snote
- * parv[0] = sender prefix
* parv[1] = snomask letter
* parv[2] = message
*/
static int
-me_snote(struct Client *client_p, struct Client *source_p, int parc,
+me_snote(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc,
const char *parv[])
{
/* if there's more than just two params, this is a protocol