1
0
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:
Wouter Coekaerts 2006-08-20 13:40:03 +00:00 committed by coekie
parent dee4238e9b
commit 59f91046c1

View File

@ -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;
} }