summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2013-11-20 20:09:48 +0200
committerAndrew Lewis <nerf@judo.za.org>2013-11-20 20:30:50 +0200
commitd6319bf98dc730ad7ce56e32921a5766b0d606c4 (patch)
tree5c885c09898dfffbd52902efbfe7f957d03d6fb2 /src/plugins
parent0dff55c8797357cf6c7ce9335cbd014d75a711cf (diff)
downloadrspamd-d6319bf98dc730ad7ce56e32921a5766b0d606c4.tar.gz
rspamd-d6319bf98dc730ad7ce56e32921a5766b0d606c4.zip
Correct use of wrong variable
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/lua/rbl.lua2
1 files changed, 1 insertions, 1 deletions
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