mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 11:13:12 +02:00
Added anti-flood option (irc_anti_flood) (task #5442)
This commit is contained in:
@@ -132,7 +132,18 @@ gui_main_loop ()
|
||||
if (local_time->tm_sec != old_sec)
|
||||
{
|
||||
old_sec = local_time->tm_sec;
|
||||
|
||||
/* send queued messages */
|
||||
for (ptr_server = irc_servers; ptr_server;
|
||||
ptr_server = ptr_server->next_server)
|
||||
{
|
||||
if (ptr_server->is_connected)
|
||||
{
|
||||
server_outqueue_send (ptr_server);
|
||||
}
|
||||
}
|
||||
|
||||
/* display time in infobar (if seconds displayed) */
|
||||
if (cfg_look_infobar_seconds)
|
||||
{
|
||||
gui_infobar_draw_time (gui_current_window->buffer);
|
||||
|
||||
Reference in New Issue
Block a user