diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 09:02:58 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-08-15 09:02:58 +0200 |
commit | 66d11b7e46c4335034c476620e73222db94fd876 (patch) | |
tree | 373cd28a61ede953db5f2e0a9a69942d0329d694 /src/plugins/trigger | |
parent | doc: add more info about line, print and modifier functions for new lines (plugin API reference) (diff) | |
download | weechat-66d11b7e46c4335034c476620e73222db94fd876.tar.xz weechat-66d11b7e46c4335034c476620e73222db94fd876.zip |
trigger: add missing values for line trigger
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r-- | src/plugins/trigger/trigger.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c index 0dcf01473..8c78aec27 100644 --- a/src/plugins/trigger/trigger.c +++ b/src/plugins/trigger/trigger.c @@ -55,15 +55,15 @@ char *trigger_hook_option_values = "signal|hsignal|modifier|line|print|command|command_run|timer|config|" "focus"; char *trigger_hook_default_arguments[TRIGGER_NUM_HOOK_TYPES] = -{ "xxx", "xxx", "xxx", "", "cmd;desc;args;args_desc;%(buffers_names)", "/cmd", - "60000;0;0", "xxx", "chat" }; +{ "xxx", "xxx", "xxx", "", "", "cmd;desc;args;args_desc;%(buffers_names)", + "/cmd", "60000;0;0", "xxx", "chat" }; char *trigger_hook_default_rc[TRIGGER_NUM_HOOK_TYPES] = -{ "ok,ok_eat,error", "ok,ok_eat,error", "", "ok,error", "ok,error", +{ "ok,ok_eat,error", "ok,ok_eat,error", "", "", "ok,error", "ok,error", "ok,ok_eat,error", "ok", "ok", "" }; char *trigger_hook_regex_default_var[TRIGGER_NUM_HOOK_TYPES] = -{ "tg_signal_data", "", "tg_string", "tg_message", "tg_argv_eol1", "tg_command", - "tg_remaining_calls", "tg_value", "" }; +{ "tg_signal_data", "", "tg_string", "message", "tg_message", "tg_argv_eol1", + "tg_command", "tg_remaining_calls", "tg_value", "" }; char *trigger_return_code_string[TRIGGER_NUM_RETURN_CODES] = { "ok", "ok_eat", "error" }; |