diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-07 03:37:59 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-06-07 03:43:42 +0200 |
commit | 0553ef857ffb4d93e2078294aaaf6010d515a264 (patch) | |
tree | 1f228807fb26fe6229ec3a89c859409a8bf311eb | |
parent | 7bcf2a066b2c0838dc2da4af415ec80321732118 (diff) | |
download | xK-0553ef857ffb4d93e2078294aaaf6010d515a264.tar.gz xK-0553ef857ffb4d93e2078294aaaf6010d515a264.tar.xz xK-0553ef857ffb4d93e2078294aaaf6010d515a264.zip |
degesch: enable NAMESX if supported by server
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |