1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 18:23:13 +02:00

Fixed server option "command_delay": does not freeze WeeChat any more

This commit is contained in:
Sebastien Helleu
2007-08-20 08:37:31 +00:00
parent fb8bae3c78
commit 69bd50d74c
16 changed files with 154 additions and 88 deletions
+8
View File
@@ -253,6 +253,14 @@ gui_main_loop ()
continue;
}
}
/* check if it's time to autojoin channels (after command delay) */
if ((ptr_server->command_time != 0)
&& (new_time >= ptr_server->command_time + ptr_server->command_delay))
{
irc_server_autojoin_channels (ptr_server);
ptr_server->command_time = 0;
}
}
if (!ptr_server->is_connected && (ptr_server->child_pid > 0))