From: Vsevolod Stakhov Date: Mon, 4 Jul 2016 16:07:04 +0000 (+0100) Subject: [Fix] Match archive name as well X-Git-Tag: 1.3.0~176 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f2fe164e37c17dfc7228ac2ff69719d1407bf496;p=rspamd.git [Fix] Match archive name as well --- diff --git a/src/plugins/lua/multimap.lua b/src/plugins/lua/multimap.lua index 786a9a492..67e293005 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -361,11 +361,11 @@ local function multimap_callback(task, pre_filter) for ii,fn in ipairs(fnames) do check_file(fn) end - else - local fn = p:get_filename() - if fn then - check_file(fn) - end + end + + local fn = p:get_filename() + if fn then + check_file(fn) end end -- RBL rules