diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-13 10:59:58 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2014-03-13 10:59:58 +0100 |
commit | cd65198c713577e3fee2232a10984fedfc274aa9 (patch) | |
tree | 667d54587a06bcf897e71a5b36ef4f176245bd35 /src/plugins/trigger | |
parent | c8f574d7305b5a064b084e82d93cd90950ea2306 (diff) | |
download | weechat-cd65198c713577e3fee2232a10984fedfc274aa9.zip |
api: add callback in function string_replace_regex
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r-- | src/plugins/trigger/trigger-callback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-callback.c b/src/plugins/trigger/trigger-callback.c index d9d82101e..00a941b20 100644 --- a/src/plugins/trigger/trigger-callback.c +++ b/src/plugins/trigger/trigger-callback.c @@ -213,7 +213,8 @@ trigger_callback_replace_regex (struct t_trigger *trigger, value = weechat_string_replace_regex (ptr_value, trigger->regex[i].regex, replace_eval, - '$'); + '$', + NULL, NULL); if (value) { /* display debug info on trigger buffer */ |