summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-10 13:01:20 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-10 13:01:20 +0100
commit614f34adbc5db758aba662f241592ef0558322ae (patch)
treed56b3d832c2a5d7991983719a89597abbd3d0910 /src/plugins/trigger
parent32facbe78394b844dc083761be2d5f3c55611af2 (diff)
downloadweechat-614f34adbc5db758aba662f241592ef0558322ae.zip
trigger: add missing hook "command_run" in /help trigger
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger-command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-command.c b/src/plugins/trigger/trigger-command.c
index 48b98b477..3563fbde5 100644
--- a/src/plugins/trigger/trigger-command.c
+++ b/src/plugins/trigger/trigger-command.c
@@ -713,13 +713,14 @@ trigger_command_init ()
"listdefault: list default triggers\n"
" add: add a trigger\n"
" name: name of trigger\n"
- " hook: signal, hsignal, modifier, print, timer\n"
+ " hook: signal, hsignal, modifier, print, command_run, timer\n"
" arguments: arguments for the hook, depending on hook (separated "
"by semicolons):\n"
" signal: name(s) of signal\n"
" hsignal: name(s) of hsignal\n"
" modifier: name(s) of modifier\n"
" print: buffer, tags, message, strip_colors\n"
+ " command_run: command\n"
" timer: interval, align_second, max_calls\n"
" conditions: evaluated conditions for the trigger\n"
" regex: one or more regular expressions to replace strings "