summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-12-20 16:46:16 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-12-20 16:46:16 +0300
commit90b983f151edcb747b86363d30f2101a9b060045 (patch)
treee5f58c2dcb787c985a422fa4a40344632935ce8d
parent064ab092fc07fc0b63bc1463b77ae1183ca3752d (diff)
downloadrspamd-90b983f151edcb747b86363d30f2101a9b060045.tar.gz
rspamd-90b983f151edcb747b86363d30f2101a9b060045.zip
Fixed multimap module configuration.
-rw-r--r--src/plugins/lua/multimap.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua
index 0ab22194d..e4ba9a4fc 100644
--- a/src/plugins/lua/multimap.lua
+++ b/src/plugins/lua/multimap.lua
@@ -136,7 +136,7 @@ local opts = rspamd_config:get_all_opt('multimap')
if opts then
local strrules = opts['rule']
if strrules then
- if type(strrules) == 'array' then
+ if type(strrules) == 'table' then
for _,value in ipairs(strrules) do
local params = split(value, ',')
if not add_rule (params) then