diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-24 13:53:49 -0800 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-01-24 13:53:49 -0800 |
commit | cdb03c5fa8b381e8fc22d609598dd56901185adc (patch) | |
tree | 2d93472b5c1b30af39e76daabf89cd37c67f8f25 | |
parent | 2a9a50655c680e4346bac25ef862295c73d48674 (diff) | |
parent | 71d592cb60f274f5d5b16502eeb90040d87fe427 (diff) | |
download | rspamd-cdb03c5fa8b381e8fc22d609598dd56901185adc.tar.gz rspamd-cdb03c5fa8b381e8fc22d609598dd56901185adc.zip |
Merge pull request #29 from AlexeySa/patch-3
Fix hfilter
-rw-r--r-- | conf/lua/hfilter.lua | 2 |
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 |