summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-03-17 18:23:11 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-03-17 18:23:11 +0100
commitd6fbe95090d3e646c7d74ca02c8820788016314d (patch)
tree88f8ab4dec7cb2194c17814580efcf99f1f3efc5
parent63c2915e3cc15e158f428d946249bade0dfcb5dc (diff)
downloadweechat-d6fbe95090d3e646c7d74ca02c8820788016314d.zip
trigger: set default variable "tg_remaining_calls" for regex in timer callback
-rw-r--r--doc/de/weechat_user.de.txt2
-rw-r--r--doc/en/weechat_user.en.txt2
-rw-r--r--doc/fr/weechat_user.fr.txt2
-rw-r--r--doc/it/weechat_user.it.txt2
-rw-r--r--doc/ja/weechat_user.ja.txt2
-rw-r--r--doc/pl/weechat_user.pl.txt2
-rw-r--r--src/plugins/trigger/trigger.c2
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" };