From 0553ef857ffb4d93e2078294aaaf6010d515a264 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Sun, 7 Jun 2015 03:37:59 +0200 Subject: [PATCH] degesch: enable NAMESX if supported by server --- degesch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/degesch.c b/degesch.c index 7d1c074..933b5c8 100644 --- a/degesch.c +++ b/degesch.c @@ -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