diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 11:13:18 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-01-28 15:14:29 +0100 |
commit | b5350a3318b65c2b60982e1fa912bbad7b865bde (patch) | |
tree | 201aa3b53fa9acf2232e345d041de1d08104b41f /src | |
parent | 18d4e6a52c4ac7cc942e184d61fef799ef9e0f2a (diff) | |
download | weechat-b5350a3318b65c2b60982e1fa912bbad7b865bde.zip |
core: make proxy name case sensitive in read of infolist "proxy" (issue #1872)
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/plugin-api-info.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index abf6c4cbd..59f323cba 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -1720,7 +1720,7 @@ plugin_api_infolist_proxy_cb (const void *pointer, void *data, ptr_proxy = ptr_proxy->next_proxy) { if (!arguments || !arguments[0] - || string_match (ptr_proxy->name, arguments, 0)) + || string_match (ptr_proxy->name, arguments, 1)) { if (!proxy_add_to_infolist (ptr_infolist, ptr_proxy)) { |