]> jfr.im git - solanum.git/blobdiff - modules/m_grant.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_grant.c
index 175e16e54491943735ff0fca6056b9cc303d3a91..95635234d6da4ac4ab035474220eae1841ec898a 100644 (file)
 #include "s_conf.h"
 #include "s_newconf.h"
 
-static int mo_grant(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
-static int me_grant(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
+static int mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
+static int me_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
 
 static int do_grant(struct Client *source_p, struct Client *target_p, const char *new_privset);
 
 struct Message grant_msgtab = {
-  "GRANT", 0, 0, 0, MFLG_SLOW,
+  "GRANT", 0, 0, 0, 0,
   { mg_ignore, mg_not_oper, mg_ignore, mg_ignore, {me_grant, 3}, {mo_grant, 3}}
 };
 
@@ -31,7 +31,7 @@ mapi_clist_av1 grant_clist[] = { &grant_msgtab, NULL };
 DECLARE_MODULE_AV1(grant, NULL, NULL, grant_clist, NULL, NULL, "$Revision$");
 
 static int
-mo_grant(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Client *target_p;
 
@@ -63,7 +63,7 @@ mo_grant(struct Client *client_p, struct Client *source_p, int parc, const char
        return 0;
 }
 
-static int me_grant(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+static int me_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        struct Client *target_p;