From 19a5d2949457cd98292c9d16104dd1a7ea6dca40 Mon Sep 17 00:00:00 2001 From: Alexey Date: Mon, 2 Jun 2014 13:50:58 +0400 Subject: [PATCH] Fix RBL module --- src/plugins/lua/rbl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3