From 90b983f151edcb747b86363d30f2101a9b060045 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 20 Dec 2010 16:46:16 +0300 Subject: [PATCH] Fixed multimap module configuration. --- src/plugins/lua/multimap.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5