From f2fe164e37c17dfc7228ac2ff69719d1407bf496 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 4 Jul 2016 17:07:04 +0100 Subject: [PATCH] [Fix] Match archive name as well --- src/plugins/lua/multimap.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.39.5