]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Don't try to use filtered results
authorAndrew Lewis <nerf@judo.za.org>
Thu, 6 Apr 2017 17:51:59 +0000 (19:51 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 6 Apr 2017 17:51:59 +0000 (19:51 +0200)
src/plugins/lua/rbl.lua

index 9f30760b66c05e6190792416dec2d85e64d1c1fb..01c12baef8ea774fb73f798b84465289ae3c1b05 100644 (file)
@@ -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,