From: Andrew Lewis Date: Thu, 6 Apr 2017 17:51:59 +0000 (+0200) Subject: [Minor] Don't try to use filtered results X-Git-Tag: 1.5.5~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a2d76cb6579af34bced85147f43d095d3b999e1;p=rspamd.git [Minor] Don't try to use filtered results --- 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,