diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-19 14:31:40 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2016-11-19 14:31:40 +0100 |
commit | 6aad13f3a7a9a4797ea2f3b4da05de4f8628fd15 (patch) | |
tree | 923bec5ffad0787aa75554b7a8ef212ab272410f /src/plugins/trigger | |
parent | 68d5a89b3d54c605186c27fe6c4917956c8a5f21 (diff) | |
download | weechat-6aad13f3a7a9a4797ea2f3b4da05de4f8628fd15.zip |
trigger: add comments above default triggers
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r-- | src/plugins/trigger/trigger-config.c | 34 |
1 files changed, 29 insertions, 5 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c index 6632a15bd..85150d2cd 100644 --- a/src/plugins/trigger/trigger-config.c +++ b/src/plugins/trigger/trigger-config.c @@ -50,7 +50,14 @@ struct t_config_option *trigger_config_color_trigger_disabled; char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = { - /* beep on highlight/private message */ + /* + * beep on highlight/private message, on following conditions: + * - message is displayed (not filtered) + * AND: + * - message is a highlight + * OR: + * - message is a message in a private buffer + */ { "beep", "on", "print", "", @@ -59,7 +66,14 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "/print -beep", "ok", "" }, - /* hide passwords in commands (except "/msg nickserv register") */ + /* + * hide passwords in commands: + * - /msg nickserv id|identify|ghost|release|regain|recover + * - /oper + * - /quote pass + * - /set *password* + * - /secure passphrase|decrypt|set + */ { "cmd_pass", "on", "modifier", "5000|input_text_display;5000|history_add;5000|irc_command_auth", @@ -77,7 +91,10 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "", "", "" }, - /* hide passwords in command "/msg nickserv register" */ + /* + * hide passwords in commands: + * - /msg nickserv register + */ { "cmd_pass_register", "on", "modifier", "5000|input_text_display;5000|history_add;5000|irc_command_auth", @@ -87,7 +104,10 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "", "", "" }, - /* hide password in IRC auth message displayed */ + /* + * hide password in IRC auth message displayed + * (message received from server after the user issued the command) + */ { "msg_auth", "on", "modifier", "5000|irc_message_auth", @@ -98,7 +118,11 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] = "", "", "" }, - /* hide server password in commands /server and /connect */ + /* + * hide server password in commands: + * - /server + * - /connect + */ { "server_pass", "on", "modifier", "5000|input_text_display;5000|history_add", |