From d6fbe95090d3e646c7d74ca02c8820788016314d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 17 Mar 2014 18:23:11 +0100 Subject: [PATCH] trigger: set default variable "tg_remaining_calls" for regex in timer callback --- doc/de/weechat_user.de.txt | 2 +- doc/en/weechat_user.en.txt | 2 +- doc/fr/weechat_user.fr.txt | 2 +- doc/it/weechat_user.it.txt | 2 +- doc/ja/weechat_user.ja.txt | 2 +- doc/pl/weechat_user.pl.txt | 2 +- src/plugins/trigger/trigger.c | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/de/weechat_user.de.txt b/doc/de/weechat_user.de.txt index cabf0d266..274f6760e 100644 --- a/doc/de/weechat_user.de.txt +++ b/doc/de/weechat_user.de.txt @@ -3083,7 +3083,7 @@ type: | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/doc/en/weechat_user.en.txt b/doc/en/weechat_user.en.txt index 6df248f22..b910e1846 100644 --- a/doc/en/weechat_user.en.txt +++ b/doc/en/weechat_user.en.txt @@ -3023,7 +3023,7 @@ type: | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/doc/fr/weechat_user.fr.txt b/doc/fr/weechat_user.fr.txt index f51f41750..c23af1ea6 100644 --- a/doc/fr/weechat_user.fr.txt +++ b/doc/fr/weechat_user.fr.txt @@ -3121,7 +3121,7 @@ du type de hook : | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/doc/it/weechat_user.it.txt b/doc/it/weechat_user.it.txt index b324f7f76..8d2b7ffe9 100644 --- a/doc/it/weechat_user.it.txt +++ b/doc/it/weechat_user.it.txt @@ -3151,7 +3151,7 @@ type: | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/doc/ja/weechat_user.ja.txt b/doc/ja/weechat_user.ja.txt index 802532418..412223a75 100644 --- a/doc/ja/weechat_user.ja.txt +++ b/doc/ja/weechat_user.ja.txt @@ -3028,7 +3028,7 @@ type: | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/doc/pl/weechat_user.pl.txt b/doc/pl/weechat_user.pl.txt index ae4f917a0..1675a08cd 100644 --- a/doc/pl/weechat_user.pl.txt +++ b/doc/pl/weechat_user.pl.txt @@ -3050,7 +3050,7 @@ type: | print | tg_message | command | tg_argv_eol1 | command_run | tg_command -| timer | +| timer | tg_remaining_calls | config | tg_value | focus | |=== diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c index 95b30a4de..eac5644c0 100644 --- a/src/plugins/trigger/trigger.c +++ b/src/plugins/trigger/trigger.c @@ -61,7 +61,7 @@ char *trigger_hook_default_rc[TRIGGER_NUM_HOOK_TYPES] = char *trigger_hook_regex_default_var[TRIGGER_NUM_HOOK_TYPES] = { "tg_signal_data", "", "tg_string", "tg_message", "tg_argv_eol1", "tg_command", - "", "tg_value", "" }; + "tg_remaining_calls", "tg_value", "" }; char *trigger_return_code_string[TRIGGER_NUM_RETURN_CODES] = { "ok", "ok_eat", "error" };