X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/9f9e21dfbe5053ebb5c62809aa0f92a4152e6759..01fb744c405792dd3f0859a53f74cd4cb5fd166f:/include/s_serv.h diff --git a/include/s_serv.h b/include/s_serv.h index e3893dcb..3a99b6e8 100644 --- a/include/s_serv.h +++ b/include/s_serv.h @@ -51,6 +51,7 @@ extern struct CapabilityIndex *cli_capindex; /* register client capabilities with this structure for 3.2 enhanced capability negotiation */ #define CLICAP_FLAGS_STICKY 0x001 +#define CLICAP_FLAGS_PRIORITY 0x002 struct ClientCapability { bool (*visible)(struct Client *); /* whether or not to display the capability. set to NULL or true return value = displayed */ @@ -78,7 +79,6 @@ extern unsigned int CAP_EX; /* Can do channel +e exemptions */ extern unsigned int CAP_CHW; /* Can do channel wall @# */ extern unsigned int CAP_IE; /* Can do invite exceptions */ extern unsigned int CAP_KLN; /* Can do KLINE message */ -extern unsigned int CAP_ZIP; /* Can do ZIPlinks */ extern unsigned int CAP_KNOCK; /* supports KNOCK */ extern unsigned int CAP_TB; /* supports TBURST */ extern unsigned int CAP_UNKLN; /* supports remote unkline */ @@ -92,16 +92,11 @@ extern unsigned int CAP_EUID; /* supports EUID (ext UID + nonencap CHGHOST) */ extern unsigned int CAP_EOPMOD; /* supports EOPMOD (ext +z + ext topic) */ extern unsigned int CAP_BAN; /* supports propagated bans */ extern unsigned int CAP_MLOCK; /* supports MLOCK messages */ +extern unsigned int CAP_EBMASK; /* supports sending BMASK set by/at metadata */ /* XXX: added for backwards compatibility. --nenolod */ #define CAP_MASK (capability_index_mask(serv_capindex) & ~(CAP_TS6 | CAP_CAP)) -#ifdef HAVE_LIBZ -#define CAP_ZIP_SUPPORTED CAP_ZIP -#else -#define CAP_ZIP_SUPPORTED 0 -#endif - /* * Capability macros. */