]> jfr.im git - solanum.git/blobdiff - modules/core/m_error.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / modules / core / m_error.c
index 9699db9d0b5d6f71a43de9367760752a9f2b213f..23e6f08282a5203f1050394615f6a1c307287772 100644 (file)
 #include "logger.h"
 #include "s_conf.h"
 
-static int m_error(struct Client *, struct Client *, int, const char **);
-static int ms_error(struct Client *, struct Client *, int, const char **);
+static int m_error(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
+static int ms_error(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
 struct Message error_msgtab = {
-       "ERROR", 0, 0, 0, MFLG_SLOW | MFLG_UNREG,
+       "ERROR", 0, 0, 0, 0,
        {{m_error, 0}, mg_ignore, mg_ignore, {ms_error, 0}, mg_ignore, mg_ignore}
 };
 
@@ -88,7 +88,7 @@ is_safe_error(const char *message)
  *      parv[*] = parameters
  */
 int
-m_error(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+m_error(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        const char *para;
        int hideit = ConfigFileEntry.hide_error_messages;
@@ -121,7 +121,7 @@ m_error(struct Client *client_p, struct Client *source_p, int parc, const char *
 }
 
 static int
-ms_error(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+ms_error(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
        const char *para;
        int hideit = ConfigFileEntry.hide_error_messages;