]> jfr.im git - irc/rqf/shadowircd.git/blob - extensions/m_42.c
Added tag shadowircd-6.3.0 for changeset 031bedf7e340
[irc/rqf/shadowircd.git] / extensions / m_42.c
1 /*
2 * Copyright (C) infinity-infinity God <God@Heaven>
3 *
4 * Bob was here
5 */
6
7 #include "stdinc.h"
8 #include "modules.h"
9 #include "client.h"
10 #include "ircd.h"
11 #include "send.h"
12
13 static int mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
14
15 struct Message hgtg_msgtab = {
16 "42", 0, 0, 0, MFLG_SLOW,
17 { mg_ignore, {mclient_42, 0}, mg_ignore, mg_ignore, mg_ignore, {mclient_42, 0}
18 }
19 };
20
21 mapi_clist_av1 hgtg_clist[] = { &hgtg_msgtab, NULL };
22
23
24 DECLARE_MODULE_AV1(42, NULL, NULL, hgtg_clist, NULL, NULL, "Revision 0.42");
25
26
27 static int
28 mclient_42(struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
29 {
30 sendto_one_notice(source_p, ":The Answer to Life, the Universe, and Everything.");
31 return 0;
32 }
33
34