Kill CLICAP_FLAGS_REQACK
This commit is contained in:
parent
e8a8d7a440
commit
9f9e21dfbe
2 changed files with 0 additions and 7 deletions
|
@ -51,7 +51,6 @@ extern struct CapabilityIndex *cli_capindex;
|
||||||
|
|
||||||
/* register client capabilities with this structure for 3.2 enhanced capability negotiation */
|
/* register client capabilities with this structure for 3.2 enhanced capability negotiation */
|
||||||
#define CLICAP_FLAGS_STICKY 0x001
|
#define CLICAP_FLAGS_STICKY 0x001
|
||||||
#define CLICAP_FLAGS_REQACK 0x002
|
|
||||||
|
|
||||||
struct ClientCapability {
|
struct ClientCapability {
|
||||||
bool (*visible)(struct Client *); /* whether or not to display the capability. set to NULL or true return value = displayed */
|
bool (*visible)(struct Client *); /* whether or not to display the capability. set to NULL or true return value = displayed */
|
||||||
|
|
|
@ -351,12 +351,6 @@ cap_req(struct Client *source_p, const char *arg)
|
||||||
capadd |= (1 << cap->value);
|
capadd |= (1 << cap->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XXX this probably should exclude REQACK'd caps from capadd/capdel, but keep old behaviour for now */
|
|
||||||
if(HasCapabilityFlag(cap, CLICAP_FLAGS_REQACK))
|
|
||||||
{
|
|
||||||
type = "~";
|
|
||||||
}
|
|
||||||
|
|
||||||
for (int attempts = 0; attempts < 2; attempts++) {
|
for (int attempts = 0; attempts < 2; attempts++) {
|
||||||
if (rb_snprintf_try_append(buf_list[i], max_list, "%s%s%s",
|
if (rb_snprintf_try_append(buf_list[i], max_list, "%s%s%s",
|
||||||
buf_list[i][0] == '\0' ? "" : " ", /* space between caps */
|
buf_list[i][0] == '\0' ? "" : " ", /* space between caps */
|
||||||
|
|
Loading…
Reference in a new issue