aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorrm-minus-rf <rm.minus.rf@protonmail.com>2020-04-18 00:17:29 +0200
committerrm-minus-rf <rm.minus.rf@protonmail.com>2020-04-18 00:17:29 +0200
commit00b2ecaa3b1ec5629a1c37781af80b7afa23913b (patch)
tree4a1a2ceed45afd012871fd633507c3b676eb8166 /src/plugins
parente1e23ddef268163cec9e1d1fafbfda0b36917e77 (diff)
downloadrspamd-00b2ecaa3b1ec5629a1c37781af80b7afa23913b.tar.gz
rspamd-00b2ecaa3b1ec5629a1c37781af80b7afa23913b.zip
[Minor] selectors: cleaner symbol extractor
'symbol' extractor returns a table 'to_ascii' transform can handle tables
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/force_actions.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua
index e86892f6a..eda87ead0 100644
--- a/src/plugins/lua/force_actions.lua
+++ b/src/plugins/lua/force_actions.lua
@@ -111,7 +111,6 @@ local function gen_cb(expr, act, pool, message, subject, raction, honor, limit,
-- process selector expressions in the message
message = string.gsub(message, '(${(.-)})', process_message_selectors)
task:set_pre_result(act, message, N, nil, nil, flags)
-
else
task:set_pre_result(act, nil, N, nil, nil, flags)
end