aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_spf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lua/lua_spf.c b/src/lua/lua_spf.c
index ab53b8912..cf88bc838 100644
--- a/src/lua/lua_spf.c
+++ b/src/lua/lua_spf.c
@@ -340,6 +340,11 @@ spf_check_element (lua_State *L, struct spf_resolved *rec, struct spf_addr *addr
lua_pushinteger (L, RSPAMD_SPF_RESOLVED_TEMP_FAILED);
lua_spf_push_spf_addr (L, addr);
}
+ else {
+ lua_pushboolean (L, true);
+ lua_pushinteger (L, addr->mech);
+ lua_spf_push_spf_addr (L, addr);
+ }
}
else {
lua_pushboolean (L, true);