summaryrefslogtreecommitdiff
path: root/tests/unit/plugins/irc/test-irc-protocol.cpp
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2024-04-02 19:12:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2024-04-07 13:18:13 +0200
commit4adb64284bf5d78c4ca4034b722b936d14ca9bca (patch)
tree55fc93fde25474076fe35a4be6a9beec7116667f /tests/unit/plugins/irc/test-irc-protocol.cpp
parent3cce916035ed4a99c765aa885555a2cc96e95a92 (diff)
downloadweechat-4adb64284bf5d78c4ca4034b722b936d14ca9bca.zip
buffer: add property `input_get_any_user_data` in buffer (issue #2066)
This allows buffers to get any user input, including commands, that are sent to the buffer callback instead of being executed on the buffer.
Diffstat (limited to 'tests/unit/plugins/irc/test-irc-protocol.cpp')
-rw-r--r--tests/unit/plugins/irc/test-irc-protocol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/plugins/irc/test-irc-protocol.cpp b/tests/unit/plugins/irc/test-irc-protocol.cpp
index aa0ea10dd..115e078fb 100644
--- a/tests/unit/plugins/irc/test-irc-protocol.cpp
+++ b/tests/unit/plugins/irc/test-irc-protocol.cpp
@@ -334,7 +334,7 @@ TEST_GROUP(IrcProtocolWithServer)
ptr_buffer = gui_buffer_search_by_full_name (buffer);
if (ptr_buffer)
- input_data (ptr_buffer, data, NULL, 0);
+ input_data (ptr_buffer, data, NULL, 0, 0);
record_stop ();
}