summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAlexey <AlexeySa@users.noreply.github.com>2014-06-02 13:50:58 +0400
committerAlexey <AlexeySa@users.noreply.github.com>2014-06-02 13:50:58 +0400
commit19a5d2949457cd98292c9d16104dd1a7ea6dca40 (patch)
tree9dbf50e845792bcb17811037697dff1d8366b514 /src/plugins
parente3329afcefadb0c6d609ec02cf3df9dc6728406e (diff)
downloadrspamd-19a5d2949457cd98292c9d16104dd1a7ea6dca40.tar.gz
rspamd-19a5d2949457cd98292c9d16104dd1a7ea6dca40.zip
Fix RBL module
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 3738af3cf..7f2640a80 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