]>
Commit | Line | Data |
---|---|---|
212380e3 AC |
1 | /* |
2 | * Copyright (C) infinity-infinity God <God@Heaven> | |
3 | * | |
55abcbb2 | 4 | * Bob was here |
212380e3 AC |
5 | */ |
6 | ||
7 | #include "stdinc.h" | |
8 | #include "modules.h" | |
9 | #include "client.h" | |
10 | #include "ircd.h" | |
11 | #include "send.h" | |
12 | ||
760bafda | 13 | static int mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]); |
212380e3 AC |
14 | |
15 | struct Message hgtg_msgtab = { | |
7baa37a9 | 16 | "42", 0, 0, 0, 0, |
212380e3 AC |
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 | |
760bafda | 28 | mclient_42(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) |
212380e3 | 29 | { |
5366977b | 30 | sendto_one_notice(source_p, ":The Answer to Life, the Universe, and Everything."); |
212380e3 AC |
31 | return 0; |
32 | } | |
33 | ||
34 |