summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-04-06 19:51:59 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-04-06 19:51:59 +0200
commit6a2d76cb6579af34bced85147f43d095d3b999e1 (patch)
treeb604b6f1bdf43a62bc81fd0fcb736c3b2b1c20bd /src
parent479d8756a8bca02aa4b39d7f172c27ecdef8b528 (diff)
downloadrspamd-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.lua4
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,