aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/dmarc.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-02 15:17:01 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-12-02 15:17:01 +0000
commit5f116f6edbeffd33ef0cbdbaf893c2587f4ae784 (patch)
tree7c544cf87cdfdef8457c76936495ccab1be367d5 /src/plugins/lua/dmarc.lua
parent0bf45936043f24d24c79bc960641f9efd5df0312 (diff)
downloadrspamd-5f116f6edbeffd33ef0cbdbaf893c2587f4ae784.tar.gz
rspamd-5f116f6edbeffd33ef0cbdbaf893c2587f4ae784.zip
[Minor] Fix dmarc after change
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 c2fc4d9bb..08d9732d9 100644
--- a/src/plugins/lua/dmarc.lua
+++ b/src/plugins/lua/dmarc.lua
@@ -559,7 +559,7 @@ local function dmarc_callback(task)
local hfromdom = ((from or E)[1] or E).domain
local dmarc_domain
local ip_addr = task:get_ip()
- local dmarc_checks = task:get_mempool():get_variable('dmarc_checks', 'int') or 0
+ local dmarc_checks = task:get_mempool():get_variable('dmarc_checks', 'double') or 0
local seen_invalid = false
if dmarc_checks ~= 2 then