aboutsummaryrefslogtreecommitdiffstats
path: root/rules/html.lua
diff options
context:
space:
mode:
Diffstat (limited to 'rules/html.lua')
-rw-r--r--rules/html.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/rules/html.lua b/rules/html.lua
index fb32e9179..9e582a731 100644
--- a/rules/html.lua
+++ b/rules/html.lua
@@ -101,7 +101,6 @@ rspamd_config.R_EMPTY_IMAGE = {
if p:is_html() then -- if the current part is html part
local hc = p:get_html() -- we get HTML context
local len = p:get_length() -- and part's length
-
if hc and len < 50 then -- if we have a part that has less than 50 bytes of text
local images = hc:get_images() -- then we check for HTML images