Backed out changeset 8939a7e03d15
The code behind this capability was never implemented, and subsequent discussions have agreed to approach the problem differently. There seems no reason to continue advertising a capability that does nothing.
This commit is contained in:
parent
bd44fc7b09
commit
0f1ab797e4
2 changed files with 2 additions and 4 deletions
|
@ -443,7 +443,6 @@ struct ListClient
|
||||||
|
|
||||||
#define CLICAP_MULTI_PREFIX 0x0001
|
#define CLICAP_MULTI_PREFIX 0x0001
|
||||||
#define CLICAP_SASL 0x0002
|
#define CLICAP_SASL 0x0002
|
||||||
#define CLICAP_ACCOUNT_HOSTMASK 0x0004
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* flags macros.
|
* flags macros.
|
||||||
|
|
|
@ -69,8 +69,7 @@ static struct clicap
|
||||||
int namelen;
|
int namelen;
|
||||||
} clicap_list[] = {
|
} clicap_list[] = {
|
||||||
_CLICAP("multi-prefix", CLICAP_MULTI_PREFIX, 0, 0),
|
_CLICAP("multi-prefix", CLICAP_MULTI_PREFIX, 0, 0),
|
||||||
_CLICAP("sasl", CLICAP_SASL, 0, 0),
|
_CLICAP("sasl", CLICAP_SASL, 0, 0)
|
||||||
_CLICAP("source-account-hostmask", CLICAP_ACCOUNT_HOSTMASK, 0, 0),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
|
#define CLICAP_LIST_LEN (sizeof(clicap_list) / sizeof(struct clicap))
|
||||||
|
@ -175,7 +174,7 @@ clicap_generate(struct Client *source_p, const char *subcmd, int flags, int clea
|
||||||
char *p;
|
char *p;
|
||||||
int buflen = 0;
|
int buflen = 0;
|
||||||
int curlen, mlen;
|
int curlen, mlen;
|
||||||
size_t i;
|
int i;
|
||||||
|
|
||||||
mlen = rb_sprintf(buf, ":%s CAP %s %s",
|
mlen = rb_sprintf(buf, ":%s CAP %s %s",
|
||||||
me.name,
|
me.name,
|
||||||
|
|
Loading…
Reference in a new issue