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