cap: implicitly enable cap-notify on CAP LS 302, to MAKE IRC GREAT AGAIN!!!!oneoneone
This commit is contained in:
parent
ddf62b10f9
commit
ba316ed56c
1 changed files with 3 additions and 0 deletions
|
@ -305,7 +305,10 @@ cap_ls(struct Client *source_p, const char *arg)
|
||||||
source_p->flags |= FLAGS_CLICAP;
|
source_p->flags |= FLAGS_CLICAP;
|
||||||
|
|
||||||
if (arg != NULL && !strcmp(arg, "302"))
|
if (arg != NULL && !strcmp(arg, "302"))
|
||||||
|
{
|
||||||
source_p->flags |= FLAGS_CLICAP_DATA;
|
source_p->flags |= FLAGS_CLICAP_DATA;
|
||||||
|
source_p->localClient->caps |= CLICAP_CAP_NOTIFY;
|
||||||
|
}
|
||||||
|
|
||||||
/* list of what we support */
|
/* list of what we support */
|
||||||
clicap_generate(source_p, "LS", 0, 0);
|
clicap_generate(source_p, "LS", 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue