summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-15 20:29:45 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:13:57 +0100
commit5434f4f9694965ca6d07e6f26be95d2e932d1097 (patch)
tree888b202a6e9b5bf3ffc0660ca1058f88d0a192f5 /src/core
parent4b5897f1103f0de27b70f05909424c4354e2d848 (diff)
downloadweechat-5434f4f9694965ca6d07e6f26be95d2e932d1097.zip
core, plugins: make plugin names case sensitive (issue #1872)
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 28b6926e5..cbdb79456 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -4810,7 +4810,7 @@ command_plugin_list (const char *name, int full)
for (ptr_plugin = weechat_plugins; ptr_plugin;
ptr_plugin = ptr_plugin->next_plugin)
{
- if (!name || (string_strcasestr (ptr_plugin->name, name)))
+ if (!name || (strstr (ptr_plugin->name, name)))
{
plugins_found++;