mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Add multi-prefix to list of capabilities to request
Turns out event_names_list() in irc-nicklist.c already handles this. event_who() just ignores it, which is probably a good idea since some of the irc servers I tested this with have a bug that results in sending multiple prefixes in the NAMES reply but not in the WHO one (they were forks of ircd-hybrid before 7.3.0) And NAMES always happens, anyway. WHO is omitted sometimes for huge channels.
This commit is contained in:
parent
f247a43b97
commit
7ae7422939
@ -228,6 +228,8 @@ static void server_init(IRC_SERVER_REC *server)
|
||||
if (conn->sasl_mechanism != SASL_MECHANISM_NONE)
|
||||
cap_toggle(server, "sasl", TRUE);
|
||||
|
||||
cap_toggle(server, "multi-prefix", TRUE);
|
||||
|
||||
irc_send_cmd_now(server, "CAP LS");
|
||||
|
||||
if (conn->password != NULL && *conn->password != '\0') {
|
||||
|
Loading…
Reference in New Issue
Block a user