summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-06-12 20:07:44 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-12 20:07:44 +0200
commitfbf7156b1b02b99fa8259f2a4761969b6012523b (patch)
tree0572fc420f1185c197d35851032b1a9d641058e1 /src/plugins
parentee2f09fb139392868367feb43f9356b3aa3b6a87 (diff)
downloadweechat-fbf7156b1b02b99fa8259f2a4761969b6012523b.zip
alias: fix message in case of error in command /alias addcompletion
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/alias/alias-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/alias/alias-command.c b/src/plugins/alias/alias-command.c
index c7f14ea1d..9c1b2326b 100644
--- a/src/plugins/alias/alias-command.c
+++ b/src/plugins/alias/alias-command.c
@@ -184,7 +184,7 @@ alias_command_cb (const void *pointer, void *data,
if (weechat_strcasecmp (argv[1], "addcompletion") == 0)
{
- WEECHAT_COMMAND_MIN_ARGS(5, "add");
+ WEECHAT_COMMAND_MIN_ARGS(5, "addcompletion");
alias_command_add (
(weechat_string_is_command_char (argv[3])) ?
(char *)weechat_utf8_next_char (argv[3]) : argv[3],