Permalink
Browse files

- Removed CAPAB_IE and CAPAB_EX. These are mandatory for some years now.

git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@8003 82007160-df01-0410-b94d-b575c5fd34c7
  • Loading branch information...
miwob committed Mar 14, 2017
1 parent 5bcdd5b commit 981c61e36cf0f78d2a90bd2bcf4c86ae510d7cc4
Showing with 12 additions and 17 deletions.
  1. +12 −14 include/server.h
  2. +0 −3 src/channel.c
View
@@ -65,20 +65,18 @@ struct Capability
enum
{
CAPAB_QS = 0x00000001U, /**< Can handle quit storm removal */
CAPAB_EX = 0x00000002U, /**< Can do channel +e exemptions */
CAPAB_IE = 0x00000004U, /**< Can do invite exceptions */
CAPAB_EOB = 0x00000008U, /**< Can do EOB message */
CAPAB_KLN = 0x00000010U, /**< Can do KLINE message */
CAPAB_KNOCK = 0x00000020U, /**< Supports KNOCK */
CAPAB_UNKLN = 0x00000040U, /**< Can do UNKLINE message */
CAPAB_CLUSTER = 0x00000080U, /**< Supports server clustering */
CAPAB_ENCAP = 0x00000100U, /**< Supports ENCAP message */
CAPAB_HOPS = 0x00000200U, /**< Supports HALFOPS */
CAPAB_TBURST = 0x00000400U, /**< Supports TBURST */
CAPAB_SVS = 0x00000800U, /**< Supports services */
CAPAB_DLN = 0x00001000U, /**< Can do DLINE message */
CAPAB_UNDLN = 0x00002000U, /**< Can do UNDLINE message */
CAPAB_CHW = 0x00004000U /**< Can do channel wall @# */
CAPAB_EOB = 0x00000002U, /**< Can do EOB message */
CAPAB_KLN = 0x00000004U, /**< Can do KLINE message */
CAPAB_KNOCK = 0x00000008U, /**< Supports KNOCK */
CAPAB_UNKLN = 0x00000010U, /**< Can do UNKLINE message */
CAPAB_CLUSTER = 0x00000020U, /**< Supports server clustering */
CAPAB_ENCAP = 0x00000040U, /**< Supports ENCAP message */
CAPAB_HOPS = 0x00000080U, /**< Supports HALFOPS */
CAPAB_TBURST = 0x00000100U, /**< Supports TBURST */
CAPAB_SVS = 0x00000200U, /**< Supports services */
CAPAB_DLN = 0x00000400U, /**< Can do DLINE message */
CAPAB_UNDLN = 0x00000800U, /**< Can do UNDLINE message */
CAPAB_CHW = 0x00001000U /**< Can do channel wall @# */
};
/*
View
@@ -55,9 +55,6 @@ static mp_pool_t *member_pool, *channel_pool, *invite_pool;
void
channel_init(void)
{
add_capability("EX", CAPAB_EX);
add_capability("IE", CAPAB_IE);
invite_pool = mp_pool_new(sizeof(struct Invite), MP_CHUNK_SIZE_INVITE);
channel_pool = mp_pool_new(sizeof(struct Channel), MP_CHUNK_SIZE_CHANNEL);
ban_pool = mp_pool_new(sizeof(struct Ban), MP_CHUNK_SIZE_BAN);

0 comments on commit 981c61e

Please sign in to comment.