From 4aa3b704739e3398402fbbef1216ae588ff9be2e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 22 Mar 2011 18:35:48 +0300 Subject: [PATCH] Fix configuration of received_rbl module. --- src/plugins/lua/received_rbl.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/plugins/lua/received_rbl.lua b/src/plugins/lua/received_rbl.lua index 653b092ad9..462af1f27b 100644 --- a/src/plugins/lua/received_rbl.lua +++ b/src/plugins/lua/received_rbl.lua @@ -70,7 +70,11 @@ if opts then symbol = opts['symbol'] if opts['rbl'] then - rbls = opts['rbl'] + if type(opts['rbl']) == 'table' then + rbls = opts['rbl'] + else + rbls[1] = opts['rbl'] + end end for _,rbl in ipairs(rbls) do local s, _ = string.find(rbl, ':') -- 2.47.3