xC: parse RPL_CHANNELMODEIS properly

The mode processor used to start with the channel name,
but it must start past it.
This commit is contained in:
2026-07-21 15:19:16 +02:00
parent 8f21138f26
commit 6c749be5f7
+1 -1
View File
@@ -8423,7 +8423,7 @@ irc_handle_rpl_channelmodeis (struct server *s, const struct irc_message *msg)
str_reset (&channel->no_param_modes);
str_map_clear (&channel->param_modes);
irc_handle_mode_channel (channel, msg->params.vector + 1);
irc_handle_mode_channel (channel, msg->params.vector + 2);
}
// XXX: do we want to log a message?