]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Match archive name as well
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Jul 2016 16:07:04 +0000 (17:07 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 4 Jul 2016 16:07:04 +0000 (17:07 +0100)
src/plugins/lua/multimap.lua

index 786a9a49245fbbe4c653ec18a75bd31be54c1903..67e2930058537f21612b9088d290a75bd489c083 100644 (file)
@@ -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