]> jfr.im git - solanum.git/blobdiff - modules/m_rehash.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_rehash.c
index dae84c2c847f713817435dbd842314cc90bf9625..3caef467e32235aa0fb3c39681cd56196856c282 100644 (file)
 #include "irc_radixtree.h"
 #include "sslproc.h"
 
-static int mo_rehash(struct Client *, struct Client *, int, const char **);
-static int me_rehash(struct Client *, struct Client *, int, const char **);
+static int mo_rehash(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int me_rehash(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message rehash_msgtab = {
-       "REHASH", 0, 0, 0, MFLG_SLOW,
+       "REHASH", 0, 0, 0, 0,
        {mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_rehash, 0}, {mo_rehash, 0}}
 };
 
@@ -356,7 +356,7 @@ do_rehash(struct Client *source_p, const char *type)
  * parv[2] = destination
  */
 static int
-mo_rehash(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mo_rehash(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        const char *type = NULL, *target_server = NULL;
 
@@ -398,7 +398,7 @@ mo_rehash(struct Client *client_p, struct Client *source_p, int parc, const char
 }
 
 static int
-me_rehash(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+me_rehash(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
 
        if (!IsPerson(source_p))