]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix filename maps filter
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 13 Aug 2016 16:16:26 +0000 (17:16 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 13 Aug 2016 16:16:26 +0000 (17:16 +0100)
src/plugins/lua/multimap.lua

index 92fbe9e4cbc1b133260f22b6bc27cf94b6af05f1..1d6657f0ae40cdc52fff08a3ea6fb3b3938970d7 100644 (file)
@@ -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