From: Alexey Date: Mon, 2 Jun 2014 09:50:58 +0000 (+0400) Subject: Fix RBL module X-Git-Tag: 0.7.0~206^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19a5d2949457cd98292c9d16104dd1a7ea6dca40;p=thirdparty%2Frspamd.git Fix RBL module --- diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua index 3738af3cf5..7f2640a80e 100644 --- a/src/plugins/lua/rbl.lua +++ b/src/plugins/lua/rbl.lua @@ -25,7 +25,7 @@ local function rbl_cb (task) local foundrc = false for s,i in pairs(thisrbl['returncodes']) do if type(i) == 'string' then - if string.find(ipstr, "^" .. v .. "$") then + if string.find(ipstr, "^" .. i .. "$") then foundrc = true task:insert_result(s, 1) break