diff --git a/include/client.h b/include/client.h index 2e69b17a..22fda3a1 100644 --- a/include/client.h +++ b/include/client.h @@ -449,6 +449,7 @@ struct ListClient #define CLICAP_AWAY_NOTIFY 0x0010 #define CLICAP_TLS 0x0020 #define CLICAP_USERHOST_IN_NAMES 0x0040 +#define CLICAP_CAP_NOTIFY 0x0080 /* * flags macros. diff --git a/modules/m_cap.c b/modules/m_cap.c index 93830cf3..e88b8fad 100644 --- a/modules/m_cap.c +++ b/modules/m_cap.c @@ -77,6 +77,7 @@ static struct clicap _CLICAP("away-notify", CLICAP_AWAY_NOTIFY, 0, 0, 0), _CLICAP("tls", CLICAP_TLS, 0, 0, 0), _CLICAP("userhost-in-names", CLICAP_USERHOST_IN_NAMES, 0, 0, 0), + _CLICAP("cap-notify", CLICAP_CAP_NOTIFY, 0, 0, 0), }; #define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))