aboutsummaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorAlexey <AlexeySa@users.noreply.github.com>2014-01-24 12:09:30 -0800
committerAlexey <AlexeySa@users.noreply.github.com>2014-01-24 12:09:30 -0800
commit71d592cb60f274f5d5b16502eeb90040d87fe427 (patch)
tree2d93472b5c1b30af39e76daabf89cd37c67f8f25 /conf
parent2a9a50655c680e4346bac25ef862295c73d48674 (diff)
downloadrspamd-71d592cb60f274f5d5b16502eeb90040d87fe427.tar.gz
rspamd-71d592cb60f274f5d5b16502eeb90040d87fe427.zip
Fix hfilter
Diffstat (limited to 'conf')
-rw-r--r--conf/lua/hfilter.lua2
1 files changed, 1 insertions, 1 deletions
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