From: Vsevolod Stakhov Date: Mon, 20 Dec 2010 13:46:16 +0000 (+0300) Subject: Fixed multimap module configuration. X-Git-Tag: 0.3.7~99 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=90b983f151edcb747b86363d30f2101a9b060045;p=rspamd.git Fixed multimap module configuration. --- 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