diff options
Diffstat (limited to 'lualib/lua_fuzzy.lua')
-rw-r--r-- | lualib/lua_fuzzy.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_fuzzy.lua b/lualib/lua_fuzzy.lua index bd601c038..325a8ff6c 100644 --- a/lualib/lua_fuzzy.lua +++ b/lualib/lua_fuzzy.lua @@ -300,7 +300,7 @@ exports.check_mime_part = function(task, part, rule_id) return true,false end - if part:get_filename() then + if part:is_attachment() then return mime_types_check(task, part, rule) end |