diff options
-rw-r--r-- | include/s_serv.h | 31 | ||||
-rw-r--r-- | src/channel.c | 1 |
2 files changed, 15 insertions, 17 deletions
diff --git a/include/s_serv.h b/include/s_serv.h index e7a682a..9d277f5 100644 --- a/include/s_serv.h +++ b/include/s_serv.h @@ -52,22 +52,21 @@ struct Capability #define CAP_CAP 0x00000001 /* received a CAP to begin with */ #define CAP_QS 0x00000002 /* Can handle quit storm removal */ #define CAP_EX 0x00000004 /* Can do channel +e exemptions */ -#define CAP_CHW 0x00000008 /* Can do channel wall @# */ -#define CAP_IE 0x00000010 /* Can do invite exceptions */ -#define CAP_EOB 0x00000020 /* Can do EOB message */ -#define CAP_KLN 0x00000040 /* Can do KLINE message */ -#define CAP_GLN 0x00000080 /* Can do GLINE message */ -#define CAP_TS6 0x00000100 /* Can do TS6 */ -#define CAP_KNOCK 0x00000200 /* supports KNOCK */ -#define CAP_UNKLN 0x00000400 /* Can do UNKLINE message */ -#define CAP_CLUSTER 0x00000800 /* supports server clustering */ -#define CAP_ENCAP 0x00001000 /* supports ENCAP message */ -#define CAP_HOPS 0x00002000 /* supports HALFOPS */ -#define CAP_TBURST 0x00004000 /* supports TBURST */ -#define CAP_SVS 0x00008000 /* supports services */ -#define CAP_DLN 0x00010000 /* Can do DLINE message */ -#define CAP_UNDLN 0x00020000 /* Can do UNDLINE message */ -#define CAP_FAKEHOST 0x00040000 /* supports fake hosts */ +#define CAP_IE 0x00000008 /* Can do invite exceptions */ +#define CAP_EOB 0x00000010 /* Can do EOB message */ +#define CAP_KLN 0x00000020 /* Can do KLINE message */ +#define CAP_GLN 0x00000040 /* Can do GLINE message */ +#define CAP_TS6 0x00000080 /* Can do TS6 */ +#define CAP_KNOCK 0x00000100 /* supports KNOCK */ +#define CAP_UNKLN 0x00000200 /* Can do UNKLINE message */ +#define CAP_CLUSTER 0x00000400 /* supports server clustering */ +#define CAP_ENCAP 0x00000800 /* supports ENCAP message */ +#define CAP_HOPS 0x00001000 /* supports HALFOPS */ +#define CAP_TBURST 0x00002000 /* supports TBURST */ +#define CAP_SVS 0x00004000 /* supports services */ +#define CAP_DLN 0x00008000 /* Can do DLINE message */ +#define CAP_UNDLN 0x00010000 /* Can do UNDLINE message */ +#define CAP_FAKEHOST 0x00020000 /* supports fake hosts */ /* * Capability macros. diff --git a/src/channel.c b/src/channel.c index ed52dba..f000b7f 100644 --- a/src/channel.c +++ b/src/channel.c @@ -61,7 +61,6 @@ channel_init(void) { add_capability("EX", CAP_EX, 1); add_capability("IE", CAP_IE, 1); - add_capability("CHW", CAP_CHW, 1); channel_pool = mp_pool_new(sizeof(struct Channel), MP_CHUNK_SIZE_CHANNEL); ban_pool = mp_pool_new(sizeof(struct Ban), MP_CHUNK_SIZE_BAN); |