1
0
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:
Sebastien Helleu
2011-04-11 16:39:39 +02:00
parent 85c5653713
commit 2c2ebea3fd
6 changed files with 17 additions and 2 deletions
+2 -1
View File
@@ -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)
{