]> source.dussan.org Git - rspamd.git/commitdiff
Fix hfilter 29/head
authorAlexey <AlexeySa@users.noreply.github.com>
Fri, 24 Jan 2014 20:09:30 +0000 (12:09 -0800)
committerAlexey <AlexeySa@users.noreply.github.com>
Fri, 24 Jan 2014 20:09:30 +0000 (12:09 -0800)
conf/lua/hfilter.lua

index 0ec54f1f4771e9bf46d1fc9ecd52085dc6fe7bd3..d57c73ec335f76ef7d83245a7056326960993e77 100644 (file)
@@ -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