aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dmarc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-13 13:30:07 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-10-13 13:30:23 +0100
commit0125a1a77135813ca7ae93a1571c6919d640d72b (patch)
treeee9b5a7b2e2ed82cba4807239e4e135028ada618 /src/plugins/lua/dmarc.lua
parent96b89f654ee0d57987f7094707691fc04c631697 (diff)
downloadrspamd-0125a1a77135813ca7ae93a1571c6919d640d72b.tar.gz
rspamd-0125a1a77135813ca7ae93a1571c6919d640d72b.zip
[Minor] Include module name when setting pre result
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r--src/plugins/lua/dmarc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua
index e632c9f02..b55c5d41f 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -201,7 +201,7 @@ local function maybe_force_action(task, disposition)
if force_action then
-- Don't do anything if pre-result has been already set
if task:has_pre_result() then return end
- task:set_pre_result(force_action, 'Action set by DMARC')
+ task:set_pre_result(force_action, 'Action set by DMARC', N)
end
end
end