summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--degesch.c4
1 files changed, 4 insertions, 0 deletions
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