aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/force_actions.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-05-27 21:00:49 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-05-27 21:00:49 +0100
commitf015521e4ac67946d322aa4df4fb63a12345e5cc (patch)
treef330337469827f8edb4166165d3b7d3cdf975955 /src/plugins/lua/force_actions.lua
parentac257bca1b9f9a5252f469436e753360eaf016ff (diff)
downloadrspamd-f015521e4ac67946d322aa4df4fb63a12345e5cc.tar.gz
rspamd-f015521e4ac67946d322aa4df4fb63a12345e5cc.zip
[Minor] Remove legacy `default` metric
Diffstat (limited to 'src/plugins/lua/force_actions.lua')
-rw-r--r--src/plugins/lua/force_actions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/force_actions.lua b/src/plugins/lua/force_actions.lua
index 78676484a..4704b849b 100644
--- a/src/plugins/lua/force_actions.lua
+++ b/src/plugins/lua/force_actions.lua
@@ -90,7 +90,7 @@ local function gen_cb(params)
return extracted
end
- local cact = task:get_metric_action('default')
+ local cact = task:get_metric_action()
if not params.message and not params.subject and params.act and cact == params.act then
return false
end