diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-13 13:16:48 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-13 13:16:48 +0200 |
commit | 0a6137e92452447e5b3ba0af24960daa8d59356f (patch) | |
tree | ea4c92c49991e681a4906b2728a9d8eccb47be11 /rules/forwarding.lua | |
parent | dfc2fe8153d1dc6a4271373059f215029ca4a2e1 (diff) | |
download | rspamd-0a6137e92452447e5b3ba0af24960daa8d59356f.tar.gz rspamd-0a6137e92452447e5b3ba0af24960daa8d59356f.zip |
[Minor] Fix tests
Diffstat (limited to 'rules/forwarding.lua')
-rw-r--r-- | rules/forwarding.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |