summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-28 11:15:27 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:14:30 +0100
commit11ea0aecf40ae758cea504856f0b7f34c918239d (patch)
tree5bd74e37118884b413564d21c144e538b186d51d
parentb5350a3318b65c2b60982e1fa912bbad7b865bde (diff)
downloadweechat-11ea0aecf40ae758cea504856f0b7f34c918239d.zip
core: make buffer name case sensitive in read of infolist "buffer" (issue #1872)
-rw-r--r--src/plugins/plugin-api-info.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c
index 59f323cba..ec7bfdb41 100644
--- a/src/plugins/plugin-api-info.c
+++ b/src/plugins/plugin-api-info.c
@@ -1257,7 +1257,7 @@ plugin_api_infolist_buffer_cb (const void *pointer, void *data,
ptr_buffer = ptr_buffer->next_buffer)
{
if (!arguments || !arguments[0]
- || string_match (ptr_buffer->full_name, arguments, 0))
+ || string_match (ptr_buffer->full_name, arguments, 1))
{
if (!gui_buffer_add_to_infolist (ptr_infolist, ptr_buffer))
{