/*
* 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}
}
};
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;
}