summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-03-02 11:20:01 +0000
committerGitHub <noreply@github.com>2023-03-02 11:20:01 +0000
commit1804b75af86ff346820860207f61451da6e1c772 (patch)
tree9792fc32a6ef471de8785a47fbf19c910d46f8c4
parent5604cdc3e0b2f2e94ce99a83655b7939cde01ebe (diff)
parent4f127cf8dce3a329deea7ba18bc754a6ab4a22b6 (diff)
downloadrspamd-1804b75af86ff346820860207f61451da6e1c772.tar.gz
rspamd-1804b75af86ff346820860207f61451da6e1c772.zip
Merge pull request #4416 from nishils/fix-x-rspamd-action
Fix for x-rspamd-action in Milter headers module
-rw-r--r--src/plugins/lua/milter_headers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua
index 1c35f89b4..02f50be27 100644
--- a/src/plugins/lua/milter_headers.lua
+++ b/src/plugins/lua/milter_headers.lua
@@ -360,7 +360,7 @@ local function milter_headers(task)
local local_mod = settings.routines['x-rspamd-action']
if skip_wanted('x-rspamd-action') then return end
if not common['metric_action'] then
- common['metric_action'] = task:get_metric_score()
+ common['metric_action'] = task:get_metric_action()
end
local action = common['metric_action']
if local_mod.remove then