1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 20:36:38 +02:00

api: add callback in function string_replace_regex

This commit is contained in:
Sebastien Helleu
2014-03-13 10:59:58 +01:00
parent c8f574d730
commit cd65198c71
8 changed files with 103 additions and 25 deletions
+2 -1
View File
@@ -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 */