aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/rspamadm/dns_tool.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/rspamadm/dns_tool.lua')
-rw-r--r--lualib/rspamadm/dns_tool.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/rspamadm/dns_tool.lua b/lualib/rspamadm/dns_tool.lua
index 24a8fecf8..f45f4a4a3 100644
--- a/lualib/rspamadm/dns_tool.lua
+++ b/lualib/rspamadm/dns_tool.lua
@@ -183,7 +183,7 @@ local function spf_handler(opts)
end
else
printf('Error getting SPF record: %s (%s flag)', err,
- flag_to_str(flag_or_policy))
+ flag_to_str(flag_or_policy or flags))
end
else
printf('Cannot get SPF record: %s', err)