Archive the Mode messages, except if they are received for an unjoined chan
fix #3362
This commit is contained in:
@@ -1154,7 +1154,7 @@ void IrcClient::on_channel_mode(const IrcMessage& message)
|
||||
}
|
||||
this->bridge.send_message(iid, "", "Mode " + iid.get_local() +
|
||||
" [" + mode_arguments + "] by " + user.nick,
|
||||
true);
|
||||
true, this->is_channel_joined(iid.get_local()));
|
||||
const IrcChannel* channel = this->get_channel(iid.get_local());
|
||||
if (!channel)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user