summaryrefslogtreecommitdiff
path: root/src/plugins/fifo/fifo-command.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/fifo/fifo-command.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/fifo/fifo-command.c')
-rw-r--r--src/plugins/fifo/fifo-command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fifo/fifo-command.c b/src/plugins/fifo/fifo-command.c
index f07cbf29b..4e8ce14bd 100644
--- a/src/plugins/fifo/fifo-command.c
+++ b/src/plugins/fifo/fifo-command.c
@@ -59,21 +59,21 @@ fifo_command_fifo (const void *pointer, void *data,
}
/* enable pipe */
- if (weechat_strcasecmp (argv[1], "enable") == 0)
+ if (weechat_strcmp (argv[1], "enable") == 0)
{
weechat_config_option_set (fifo_config_file_enabled, "on", 1);
return WEECHAT_RC_OK;
}
/* disable pipe */
- if (weechat_strcasecmp (argv[1], "disable") == 0)
+ if (weechat_strcmp (argv[1], "disable") == 0)
{
weechat_config_option_set (fifo_config_file_enabled, "off", 1);
return WEECHAT_RC_OK;
}
/* toggle pipe */
- if (weechat_strcasecmp (argv[1], "toggle") == 0)
+ if (weechat_strcmp (argv[1], "toggle") == 0)
{
weechat_config_option_set (
fifo_config_file_enabled,