cap: register the account-tag capability
This commit is contained in:
parent
5559c3cf17
commit
ddedc60398
2 changed files with 3 additions and 0 deletions
|
@ -445,6 +445,7 @@ struct ListClient
|
|||
UMODE_WALLOP | UMODE_LOCOPS)
|
||||
#define DEFAULT_OPER_SNOMASK SNO_GENERAL
|
||||
|
||||
/* XXX make clicap a registry */
|
||||
#define CLICAP_MULTI_PREFIX 0x0001
|
||||
#define CLICAP_SASL 0x0002
|
||||
#define CLICAP_ACCOUNT_NOTIFY 0x0004
|
||||
|
@ -454,6 +455,7 @@ struct ListClient
|
|||
#define CLICAP_USERHOST_IN_NAMES 0x0040
|
||||
#define CLICAP_CAP_NOTIFY 0x0080
|
||||
#define CLICAP_CHGHOST 0x0100
|
||||
#define CLICAP_ACCOUNT_TAG 0x0200
|
||||
|
||||
/*
|
||||
* flags macros.
|
||||
|
|
|
@ -81,6 +81,7 @@ static struct clicap
|
|||
_CLICAP("userhost-in-names", CLICAP_USERHOST_IN_NAMES, 0, 0, 0),
|
||||
_CLICAP("cap-notify", CLICAP_CAP_NOTIFY, 0, 0, 0),
|
||||
_CLICAP("chghost", CLICAP_CHGHOST, 0, 0, 0),
|
||||
_CLICAP("account-tag", CLICAP_ACCOUNT_TAG, 0, 0, 0),
|
||||
};
|
||||
|
||||
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
|
||||
|
|
Loading…
Reference in a new issue