mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
irc: set "input_multiline" to 1 in buffers only if capability draft/multiline is enabled (issue #1923)
This commit is contained in:
@@ -807,6 +807,7 @@ TEST(IrcProtocolWithServer, batch)
|
||||
/* assume "batch" and "draft/multiline" capabilities are enabled in server */
|
||||
hashtable_set (ptr_server->cap_list, "batch", NULL);
|
||||
hashtable_set (ptr_server->cap_list, "draft/multiline", NULL);
|
||||
irc_server_buffer_set_input_multiline (ptr_server, 1);
|
||||
|
||||
/* not enough parameters */
|
||||
RECV(":server BATCH");
|
||||
|
||||
Reference in New Issue
Block a user