diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-04-06 19:51:59 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-04-06 19:51:59 +0200 |
commit | 6a2d76cb6579af34bced85147f43d095d3b999e1 (patch) | |
tree | b604b6f1bdf43a62bc81fd0fcb736c3b2b1c20bd /src | |
parent | 479d8756a8bca02aa4b39d7f172c27ecdef8b528 (diff) | |
download | rspamd-6a2d76cb6579af34bced85147f43d095d3b999e1.tar.gz rspamd-6a2d76cb6579af34bced85147f43d095d3b999e1.zip |
[Minor] Don't try to use filtered results
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/rbl.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 9f30760b6..01c12baef 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -333,7 +333,9 @@ local function rbl_cb (task) to_resolve = upart .. '.' .. email:get_host() .. '.' .. rbl['rbl'] end end - gen_rbl_rule(to_resolve, rbl) + if to_resolve then + gen_rbl_rule(to_resolve, rbl) + end end end end, |