1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 04:46:37 +02:00

trigger: add option "rename" in command /trigger

This commit is contained in:
Sebastien Helleu
2014-01-26 08:39:37 +01:00
parent f92d6e9da3
commit 4205f7c498
2 changed files with 42 additions and 4 deletions
+3 -3
View File
@@ -673,9 +673,9 @@ trigger_rename (struct t_trigger *trigger, const char *name)
if (name[0] == '-')
{
weechat_printf (NULL,
_("%s%s: name can not start with \"-\""),
weechat_prefix ("error"), TRIGGER_PLUGIN_NAME);
weechat_printf_tags (NULL, "no_trigger",
_("%s%s: name can not start with \"-\""),
weechat_prefix ("error"), TRIGGER_PLUGIN_NAME);
return 0;
}