]> jfr.im git - solanum.git/blobdiff - modules/m_version.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / m_version.c
index be97edfe26ae2ad60688cd4554e5407daef3e67c..0462d6b6895e1f2d3602b2eb778664c1b7c43206 100644 (file)
 
 static char *confopts(void);
 
-static int m_version(struct Client *, struct Client *, int, const char **);
-static int mo_version(struct Client *, struct Client *, int, const char **);
+static int m_version(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int mo_version(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message version_msgtab = {
-       "VERSION", 0, 0, 0, MFLG_SLOW,
+       "VERSION", 0, 0, 0, 0,
        {mg_unreg, {m_version, 0}, {mo_version, 0}, {mo_version, 0}, mg_ignore, {mo_version, 0}}
 };
 
@@ -54,7 +54,7 @@ DECLARE_MODULE_AV1(version, NULL, NULL, version_clist, NULL, NULL, "$Revision: 1
  *      parv[1] = remote server
  */
 static int
-m_version(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+m_version(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        static time_t last_used = 0L;
 
@@ -92,7 +92,7 @@ m_version(struct Client *client_p, struct Client *source_p, int parc, const char
  *      parv[1] = remote server
  */
 static int
-mo_version(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mo_version(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        if(hunt_server(client_p, source_p, ":%s VERSION :%s", 1, parc, parv) == HUNTED_ISME)
        {