From 6a2d76cb6579af34bced85147f43d095d3b999e1 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 6 Apr 2017 19:51:59 +0200 Subject: [PATCH] [Minor] Don't try to use filtered results --- src/plugins/lua/rbl.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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, -- 2.39.5