summaryrefslogtreecommitdiff
path: root/src/plugins/trigger/trigger-config.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-04 21:43:47 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-09 12:55:40 +0100
commit66158f41f2fd6a0b20ee3fa3ba81c00da628c210 (patch)
tree16bb42f7fcabec911ad371862223c89b306f625b /src/plugins/trigger/trigger-config.c
parent639ac51593ef25998dac0c4828e6e0575120d559 (diff)
downloadweechat-66158f41f2fd6a0b20ee3fa3ba81c00da628c210.zip
trigger: add hook command_run
Diffstat (limited to 'src/plugins/trigger/trigger-config.c')
-rw-r--r--src/plugins/trigger/trigger-config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c
index 3e5340bf5..9e521bf50 100644
--- a/src/plugins/trigger/trigger-config.c
+++ b/src/plugins/trigger/trigger-config.c
@@ -142,7 +142,8 @@ trigger_config_create_option (const char *trigger_name, int index_option,
trigger_config_file, trigger_config_section_trigger,
option_name, "integer",
N_("type of hook used"),
- "signal|hsignal|modifier|print|timer", 0, 0, value, NULL, 0,
+ "signal|hsignal|modifier|print|command_run|timer",
+ 0, 0, value, NULL, 0,
NULL, NULL, NULL, NULL, NULL, NULL);
break;
case TRIGGER_OPTION_ARGUMENTS: