]>
Commit | Line | Data |
---|---|---|
212380e3 AC |
1 | /* |
2 | * Copyright (C) infinity-infinity God <God@Heaven> | |
3 | * | |
55abcbb2 | 4 | * Bob was here |
5366977b | 5 | * $Id: m_42.c 3161 2007-01-25 07:23:01Z nenolod $ |
212380e3 AC |
6 | */ |
7 | ||
8 | #include "stdinc.h" | |
9 | #include "modules.h" | |
10 | #include "client.h" | |
11 | #include "ircd.h" | |
12 | #include "send.h" | |
13 | ||
760bafda | 14 | static int mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); |
212380e3 AC |
15 | |
16 | struct Message hgtg_msgtab = { | |
7baa37a9 | 17 | "42", 0, 0, 0, 0, |
212380e3 AC |
18 | { mg_ignore, {mclient_42, 0}, mg_ignore, mg_ignore, mg_ignore, {mclient_42, 0} |
19 | } | |
20 | }; | |
21 | ||
22 | mapi_clist_av1 hgtg_clist[] = { &hgtg_msgtab, NULL }; | |
23 | ||
24 | ||
25 | DECLARE_MODULE_AV1(42, NULL, NULL, hgtg_clist, NULL, NULL, "Revision 0.42"); | |
26 | ||
27 | ||
28 | static int | |
760bafda | 29 | mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) |
212380e3 | 30 | { |
5366977b | 31 | sendto_one_notice(source_p, ":The Answer to Life, the Universe, and Everything."); |
212380e3 AC |
32 | return 0; |
33 | } | |
34 | ||
35 |