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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user