degesch: enable NAMESX if supported by server

This commit is contained in:
Přemysl Eric Janouch 2015-06-07 03:37:59 +02:00
parent 7bcf2a066b
commit 0553ef857f
1 changed files with 4 additions and 0 deletions

View File

@ -5052,6 +5052,10 @@ irc_handle_rpl_isupport (struct server *s, const struct irc_message *msg)
irc_handle_isupport_statusmsg (s, value_unescaped.str);
else if (!strcmp (param, "CHANMODES"))
irc_handle_isupport_chanmodes (s, value_unescaped.str);
else if (!strcmp (param, "NAMESX"))
// We support receiving multiple mode chars in RPL_NAMREPLY
// TODO: get rid of this and instead implement CAP negotiation
irc_send (s, "PROTOCTL NAMESX");
// TODO: also parse MODES, TARGMAX and make use of them
// to split client commands as necessary