diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-03-02 11:20:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-02 11:20:01 +0000 |
commit | 1804b75af86ff346820860207f61451da6e1c772 (patch) | |
tree | 9792fc32a6ef471de8785a47fbf19c910d46f8c4 | |
parent | 5604cdc3e0b2f2e94ce99a83655b7939cde01ebe (diff) | |
parent | 4f127cf8dce3a329deea7ba18bc754a6ab4a22b6 (diff) | |
download | rspamd-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.lua | 2 |
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 |