mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 08:13:14 +02:00
irc: fix send of split messages when server option "anti_flood" set to 0 (closes #2172)
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
- core: fix crash when deleting a bar that has no items ([#2138](https://github.com/weechat/weechat/issues/2138))
|
||||
- relay/api: fix crash when sending data to a remote buffer when the remote has been deleted ([#2157](https://github.com/weechat/weechat/issues/2157))
|
||||
- irc, xfer: fix display of input prompt in IRC private buffers and DCC chat buffers ([#2128](https://github.com/weechat/weechat/issues/2128))
|
||||
- irc: fix send of split messages when server option "anti_flood" set to 0 ([#2172](https://github.com/weechat/weechat/issues/2172))
|
||||
- core: fix generation of TOTP on FreeBSD ([#2171](https://github.com/weechat/weechat/issues/2171))
|
||||
- core: apply buffer properties (options weechat.buffer.*) when a buffer name is changed
|
||||
- irc: fix property "short_name" of channel buffer when the joined channel has a different case than the `/join` command
|
||||
|
||||
@@ -2991,8 +2991,14 @@ irc_server_outqueue_send (struct t_irc_server *server)
|
||||
if (!server->outqueue[priority])
|
||||
continue;
|
||||
|
||||
irc_server_outqueue_send_one_msg (server, server->outqueue[priority]);
|
||||
irc_server_outqueue_free (server, priority, server->outqueue[priority]);
|
||||
/* send all messages with anti_flood == 0, or just one */
|
||||
while (server->outqueue[priority])
|
||||
{
|
||||
irc_server_outqueue_send_one_msg (server, server->outqueue[priority]);
|
||||
irc_server_outqueue_free (server, priority, server->outqueue[priority]);
|
||||
if (anti_flood > 0)
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* continue to send for immediate priority (= 0),
|
||||
|
||||
Reference in New Issue
Block a user