]>
Commit | Line | Data |
---|---|---|
5a12d0b1 | 1 | /* dummy channel type (>): just a global channel type */ |
75980a5e AC |
2 | |
3 | #include "stdinc.h" | |
4 | #include "modules.h" | |
5 | #include "client.h" | |
6 | #include "ircd.h" | |
1cfc0cd9 | 7 | #include "supported.h" |
75980a5e | 8 | |
5a12d0b1 | 9 | static const char chantype_desc[] = "Secondary global channel type (>)"; |
75980a5e AC |
10 | |
11 | static int _modinit(void); | |
12 | static void _moddeinit(void); | |
13 | ||
14 | DECLARE_MODULE_AV2(chantype_dummy, _modinit, _moddeinit, NULL, NULL, NULL, NULL, NULL, chantype_desc); | |
15 | ||
16 | static int | |
17 | _modinit(void) | |
18 | { | |
5a12d0b1 | 19 | CharAttrs['>'] |= CHANPFX_C; |
1cfc0cd9 | 20 | chantypes_update(); |
75980a5e AC |
21 | |
22 | return 0; | |
23 | } | |
24 | ||
25 | static void | |
26 | _moddeinit(void) | |
27 | { | |
5a12d0b1 | 28 | CharAttrs['>'] &= ~CHANPFX_C; |
1cfc0cd9 | 29 | chantypes_update(); |
75980a5e | 30 | } |