Import from http://svn.freenode.net/ircd-seven/private/beu/seven (r196).
[seven-1.x.git] / old / extensions / m_42.c
blob6773313553d138579a9f6fdf8aa454fc592b4459
1 /*
2 * Copyright (C) infinity-infinity God <God@Heaven>
4 * Bob was here
5 * $Id: m_42.c 30 2006-09-20 20:04:49Z spb $
6 */
8 #include "stdinc.h"
9 #include "modules.h"
10 #include "client.h"
11 #include "ircd.h"
12 #include "send.h"
14 static int mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
16 struct Message hgtg_msgtab = {
17 "42", 0, 0, 0, MFLG_SLOW,
18 { mg_ignore, {mclient_42, 0}, mg_ignore, mg_ignore, mg_ignore, {mclient_42, 0}
22 mapi_clist_av1 hgtg_clist[] = { &hgtg_msgtab, NULL };
25 DECLARE_MODULE_AV1(42, NULL, NULL, hgtg_clist, NULL, NULL, "Revision 0.42");
28 static int
29 mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
31 sendto_one(source_p, ":%s NOTICE %s :The Answer to Life, the Universe, and Everything.",
32 me.name, source_p->name);
33 return 0;