1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

Channels weren't synced if you joined multiple channels at once and one of

the chennels couldn't be joined for some reason.


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1877 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-10-21 11:24:24 +00:00 committed by cras
parent 3ae5080619
commit feaee35653

View File

@ -112,6 +112,8 @@ static void channel_query_add(IRC_CHANNEL_REC *channel, int query)
rec->queries[query] = g_slist_append(rec->queries[query], channel);
}
static void channels_query_check(IRC_SERVER_REC *server);
static void channel_query_remove_all(IRC_CHANNEL_REC *channel)
{
SERVER_QUERY_REC *rec;
@ -123,7 +125,8 @@ static void channel_query_remove_all(IRC_CHANNEL_REC *channel)
/* remove channel from query lists */
for (n = 0; n < CHANNEL_QUERIES; n++)
rec->queries[n] = g_slist_remove(rec->queries[n], channel);
}
channels_query_check(channel->server);}
static void sig_channel_destroyed(IRC_CHANNEL_REC *channel)