]> jfr.im git - solanum.git/blobdiff - extensions/m_42.c
msg: remove last vestiges of the fakelag system. charybdis has never supported fakelag.
[solanum.git] / extensions / m_42.c
index 1929478557986c94bc969e40e3e2fa7369b4779f..59fc5d98e18652f2b25c44a7a9e27417ba5de7d1 100644 (file)
@@ -1,8 +1,8 @@
 /*
  *   Copyright (C) infinity-infinity God <God@Heaven>
  *
- *   Bob was here 
- *   $Id: m_42.c 6 2005-09-10 01:02:21Z nenolod $
+ *   Bob was here
+ *   $Id: m_42.c 3161 2007-01-25 07:23:01Z nenolod $
  */
 
 #include "stdinc.h"
 #include "ircd.h"
 #include "send.h"
 
-static int mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
+static int mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
 
 struct Message hgtg_msgtab = {
-  "42", 0, 0, 0, MFLG_SLOW,
+  "42", 0, 0, 0, 0,
   { mg_ignore, {mclient_42, 0}, mg_ignore, mg_ignore, mg_ignore, {mclient_42, 0}
   }
 };
@@ -26,10 +26,9 @@ DECLARE_MODULE_AV1(42, NULL, NULL, hgtg_clist, NULL, NULL, "Revision 0.42");
 
 
 static int
-mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
+mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
 {
-       sendto_one(source_p, ":%s NOTICE %s :The Answer to Life, the Universe, and Everything.",
-                  me.name, source_p->name);
+       sendto_one_notice(source_p, ":The Answer to Life, the Universe, and Everything.");
        return 0;
 }