diff options
-rw-r--r-- | src/plugins/lua/received_rbl.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/lua/received_rbl.lua b/src/plugins/lua/received_rbl.lua index 653b092ad..462af1f27 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, ':') |