mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
don't wait for all /names replies before syncing if we can't combine queries anyways. Patch by jilles
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4321 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
dee4238e9b
commit
59f91046c1
@ -274,8 +274,10 @@ static void query_check(IRC_SERVER_REC *server)
|
|||||||
if (rec->current_queries != NULL)
|
if (rec->current_queries != NULL)
|
||||||
return; /* old queries haven't been answered yet */
|
return; /* old queries haven't been answered yet */
|
||||||
|
|
||||||
if (!channels_have_all_names(server)) {
|
if (server->max_query_chans > 1 && !server->no_multi_who && !server->no_multi_mode && !channels_have_all_names(server)) {
|
||||||
/* all channels haven't sent /NAMES list yet */
|
/* all channels haven't sent /NAMES list yet */
|
||||||
|
/* only do this if there would be a benefit in combining
|
||||||
|
* queries -- jilles */
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user