From 34f661ef9808fd63b94ade8d57091a1c4f30a7e1 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 13 Aug 2016 17:16:26 +0100 Subject: [PATCH] [Fix] Fix filename maps filter --- 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 92fbe9e4c..1d6657f0a 100644 --- a/src/plugins/lua/multimap.lua +++ b/src/plugins/lua/multimap.lua @@ -171,7 +171,7 @@ local function apply_addr_filter(task, filter, input, rule) return input end -local function apply_filename_filter(filter, fn, r) +local function apply_filename_filter(task, filter, fn, r) if filter == 'extension' or filter == 'ext' then return string.match(fn, '%.([^.]+)$') elseif string.find(filter, 'regexp:') then -- 2.39.5