mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
3ae5080619
commit
feaee35653
@ -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);
|
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)
|
static void channel_query_remove_all(IRC_CHANNEL_REC *channel)
|
||||||
{
|
{
|
||||||
SERVER_QUERY_REC *rec;
|
SERVER_QUERY_REC *rec;
|
||||||
@ -123,7 +125,8 @@ static void channel_query_remove_all(IRC_CHANNEL_REC *channel)
|
|||||||
/* remove channel from query lists */
|
/* remove channel from query lists */
|
||||||
for (n = 0; n < CHANNEL_QUERIES; n++)
|
for (n = 0; n < CHANNEL_QUERIES; n++)
|
||||||
rec->queries[n] = g_slist_remove(rec->queries[n], channel);
|
rec->queries[n] = g_slist_remove(rec->queries[n], channel);
|
||||||
}
|
|
||||||
|
channels_query_check(channel->server);}
|
||||||
|
|
||||||
|
|
||||||
static void sig_channel_destroyed(IRC_CHANNEL_REC *channel)
|
static void sig_channel_destroyed(IRC_CHANNEL_REC *channel)
|
||||||
|
Loading…
Reference in New Issue
Block a user