From f0415c8ec3c6def45e5e61756e9a521f25e5f8a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 15 Jan 2023 10:54:56 +0100 Subject: core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872) --- src/plugins/spell/spell.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/plugins/spell/spell.c') diff --git a/src/plugins/spell/spell.c b/src/plugins/spell/spell.c index c1e02c6a0..88fd1e04d 100644 --- a/src/plugins/spell/spell.c +++ b/src/plugins/spell/spell.c @@ -351,8 +351,7 @@ spell_command_authorized (const char *command) for (i = 0; i < spell_count_commands_to_check; i++) { if ((spell_length_commands_to_check[i] == length_command) - && (weechat_strcasecmp (command, - spell_commands_to_check[i]) == 0)) + && (weechat_strcmp (command, spell_commands_to_check[i]) == 0)) { /* command is authorized */ return 1; -- cgit v1.2.3