diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-14 14:12:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2021-06-14 14:12:20 +0100 |
commit | f1f2f27585576a2b37e0c1d7440f4dece0b58a59 (patch) | |
tree | ffb0738648ef149827937d55ed90306ae2339beb /rules/html.lua | |
parent | ea35232b982f8ab4b3af5f286575c30780256168 (diff) | |
download | rspamd-f1f2f27585576a2b37e0c1d7440f4dece0b58a59.tar.gz rspamd-f1f2f27585576a2b37e0c1d7440f4dece0b58a59.zip |
[Minor] Pet luacheck
Diffstat (limited to 'rules/html.lua')
-rw-r--r-- | rules/html.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/rules/html.lua b/rules/html.lua index 84ef91606..852be8168 100644 --- a/rules/html.lua +++ b/rules/html.lua @@ -182,7 +182,6 @@ local vis_check_id = rspamd_config:register_symbol{ --local logger = require "rspamd_logger" local tp = task:get_text_parts() -- get text parts in a message local ret = false - local diff = 0.0 local transp_rate = 0 local invisible_blocks = 0 local zero_size_blocks = 0 @@ -198,7 +197,6 @@ local vis_check_id = rspamd_config:register_symbol{ hc:foreach_tag({'font', 'span', 'div', 'p', 'td'}, function(tag, clen, is_leaf) local bl = tag:get_style() - local rspamd_logger = require "rspamd_logger" if bl then if not bl.visible and is_leaf then invisible_blocks = invisible_blocks + 1 |