]>
Commit | Line | Data |
---|---|---|
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 |