cap: implicitly enable cap-notify on CAP LS 302, to MAKE IRC GREAT AGAIN!!!!oneoneone

This commit is contained in:
William Pitcock 2016-02-28 01:32:54 -06:00
parent ddf62b10f9
commit ba316ed56c

View file

@ -305,7 +305,10 @@ cap_ls(struct Client *source_p, const char *arg)
source_p->flags |= FLAGS_CLICAP;
if (arg != NULL && !strcmp(arg, "302"))
{
source_p->flags |= FLAGS_CLICAP_DATA;
source_p->localClient->caps |= CLICAP_CAP_NOTIFY;
}
/* list of what we support */
clicap_generate(source_p, "LS", 0, 0);