]> source.dussan.org Git - rspamd.git/commitdiff
Correct use of wrong variable
authorAndrew Lewis <nerf@judo.za.org>
Wed, 20 Nov 2013 18:09:48 +0000 (20:09 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Wed, 20 Nov 2013 18:30:50 +0000 (20:30 +0200)
src/plugins/lua/rbl.lua

index 74c731e05518a5e16bb45b19bfd1ec0ce9e6f8cf..4eed1e1c1d20601808566e4fb6fed2ebfe13c791 100644 (file)
@@ -47,7 +47,7 @@ local function rbl_cb (task)
                if rh['real_ip'] then
                        for _,rbl in pairs(rbls) do
                                task:get_resolver():resolve_a(task:get_session(), task:get_mempool(), 
-                                       ip_to_rbl(rip, rbl['rbl']), rbl_dns_cb, rbl['symbol'])
+                                       ip_to_rbl(rh['real_ip'], rbl['rbl']), rbl_dns_cb, rbl['symbol'])
                        end
        end
        end