mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
irc: do not rejoin channels where /part has been issued before reconnection to server (bug #33029)
This commit is contained in:
@@ -3499,7 +3499,8 @@ irc_server_autojoin_channels (struct t_irc_server *server)
|
||||
for (ptr_channel = server->channels; ptr_channel;
|
||||
ptr_channel = ptr_channel->next_channel)
|
||||
{
|
||||
if (ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
if ((ptr_channel->type == IRC_CHANNEL_TYPE_CHANNEL)
|
||||
&& !ptr_channel->part)
|
||||
{
|
||||
if (ptr_channel->key)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user