From ddadc1ced2b31ba42a35d5e60c3f041355c112af Mon Sep 17 00:00:00 2001 From: andryyy Date: Sat, 17 Oct 2020 10:15:14 +0200 Subject: [PATCH] [Rspamd] Remove unnecessary set_metric_action in tag script --- data/conf/rspamd/lua/rspamd.local.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/data/conf/rspamd/lua/rspamd.local.lua b/data/conf/rspamd/lua/rspamd.local.lua index e42fa78a..da04923a 100644 --- a/data/conf/rspamd/lua/rspamd.local.lua +++ b/data/conf/rspamd/lua/rspamd.local.lua @@ -221,7 +221,6 @@ rspamd_config:register_symbol({ if action ~= 'no action' and action ~= 'greylist' then rspamd_logger.infox("skipping tag handler for action: %s", action) - task:set_metric_action('default', action) return true end