From: Andrew Lewis Date: Wed, 20 Nov 2013 18:09:48 +0000 (+0200) Subject: Correct use of wrong variable X-Git-Tag: 0.6.0~31^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d6319bf98dc730ad7ce56e32921a5766b0d606c4;p=rspamd.git Correct use of wrong variable --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 74c731e05..4eed1e1c1 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -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