From: Alexey Date: Fri, 24 Jan 2014 20:09:30 +0000 (-0800) Subject: Fix hfilter X-Git-Tag: 0.6.8~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=67cb5a0834e3475e5989a0255855dbdf28615e75;p=rspamd.git Fix hfilter --- diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index 0ec54f1f4..d57c73ec3 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -262,7 +262,7 @@ local function hfilter(task) total_url_len = total_url_len + url:get_length() end if total_url_len > 0 then - if total_url_len + 7 > total_part_len then + if total_url_len + 7 > total_parts_len then task:insert_result('HFILTER_URL_ONLY', 1.00) end end