]> jfr.im git - solanum.git/blobdiff - modules/m_snote.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_snote.c
index 785901e4031f81616424ec1fe83a0b535b47b4ac..b8f7d7396f2aae5a3a494b48a4825177b3e364f2 100644 (file)
@@ -38,7 +38,7 @@
 #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}
 };
 
@@ -62,12 +62,11 @@ DECLARE_MODULE_AV1(snote, NULL, NULL, snote_clist, NULL, NULL, "$Revision: 623 $
 
 /*
  * 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