aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/common.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_scanners/common.lua')
-rw-r--r--lualib/lua_scanners/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua
index e9a6bc964..117945dd4 100644
--- a/lualib/lua_scanners/common.lua
+++ b/lualib/lua_scanners/common.lua
@@ -431,7 +431,7 @@ local function check_parts_match(task, rule)
-- We know what to scan!
local magic = lua_magic_types[detected_ext] or {}
- if magic.av_check ~= false then
+ if p:is_attachment() or magic.av_check ~= false then
extension_check = true
end
else