From 0a6137e92452447e5b3ba0af24960daa8d59356f Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 13 Mar 2017 13:16:48 +0200 Subject: [Minor] Fix tests --- rules/forwarding.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules/forwarding.lua') diff --git a/rules/forwarding.lua b/rules/forwarding.lua index a5367173f..eae803f81 100644 --- a/rules/forwarding.lua +++ b/rules/forwarding.lua @@ -120,7 +120,7 @@ rspamd_config.FORWARDED = { if rcvds then for _, rcvd in ipairs(rcvds) do - local _,_,addr = rcvd['for'] + local addr = rcvd['for'] if addr then matches = matches + 1 -- Check that it doesn't match the envrcpt -- cgit v1.2.3