diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-25 09:43:47 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-25 09:43:47 +0100 |
commit | 42704e45f72359b88ca4d66dfc6dc45e2adc6fc3 (patch) | |
tree | 5b567c2f99820046d2aea75e35dbbce4992362b6 /lualib | |
parent | d448cacb053298e86e023ea6c793df9641ca3d7b (diff) | |
download | rspamd-42704e45f72359b88ca4d66dfc6dc45e2adc6fc3.tar.gz rspamd-42704e45f72359b88ca4d66dfc6dc45e2adc6fc3.zip |
[Minor] Oops, fix flag name
Diffstat (limited to 'lualib')
-rw-r--r-- | lualib/lua_util.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index ce494ed51..8f24b2871 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -706,7 +706,7 @@ exports.filter_specific_urls = function (urls, params) if esld then -- Special cases - if (u:get_protocol() ~= 'mailto') and (not flags.url_displayed) then + if (u:get_protocol() ~= 'mailto') and (not flags.html_displayed) then if flags.obscured then priority = 3 else @@ -716,7 +716,7 @@ exports.filter_specific_urls = function (urls, params) priority = 2 end end - elseif u:is_html_displayed() then + elseif flags.html_displayed then priority = 0 end |