summaryrefslogtreecommitdiff
path: root/src/plugins/spell/spell.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-01-15 10:54:56 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-01-28 15:13:48 +0100
commitf0415c8ec3c6def45e5e61756e9a521f25e5f8a3 (patch)
treec8af8e4bd05cbaa2e13d7c671668662954fa342c /src/plugins/spell/spell.c
parent1de735b7791f9bfd5f0f9f52bd809130558b74b0 (diff)
downloadweechat-f0415c8ec3c6def45e5e61756e9a521f25e5f8a3.zip
core, plugins: make commands, hook command_run, completions and aliases case sensitive (issue #1872)
Diffstat (limited to 'src/plugins/spell/spell.c')
-rw-r--r--src/plugins/spell/spell.c3
1 files changed, 1 insertions, 2 deletions
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;