diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-12-20 16:46:16 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-12-20 16:46:16 +0300 |
commit | 90b983f151edcb747b86363d30f2101a9b060045 (patch) | |
tree | e5f58c2dcb787c985a422fa4a40344632935ce8d | |
parent | 064ab092fc07fc0b63bc1463b77ae1183ca3752d (diff) | |
download | rspamd-90b983f151edcb747b86363d30f2101a9b060045.tar.gz rspamd-90b983f151edcb747b86363d30f2101a9b060045.zip |
Fixed multimap module configuration.
-rw-r--r-- | src/plugins/lua/multimap.lua | 2 |
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 |