1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

irc: add server option "autojoin_delay" (closes #862)

The server option "autojoin_delay" adds a delay before autojoin.

The server option "command_delay" is now used to add a delay before the
execution of the command.

On upgrade from an old version, the option "command_delay" is copied to
"autojoin_delay" (in old versions, "command_delay" was applied after the
execution of command and before the autojoin).
This commit is contained in:
Sébastien Helleu
2024-02-11 09:12:57 +01:00
parent f153b6e6c3
commit 0cfc61a17e
23 changed files with 409 additions and 179 deletions
@@ -1478,6 +1478,16 @@ TEST(IrcServer, DisconnectAll)
/* TODO: write tests */
}
/*
* Tests functions:
* irc_server_execute_command
*/
TEST(IrcServer, ExecuteCommand)
{
/* TODO: write tests */
}
/*
* Tests functions:
* irc_server_autojoin_create_buffers