diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-20 09:24:53 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-09-20 09:24:53 +0100 |
commit | ec18910181e09e1aaae8a63c8ba2edf7b6cb6520 (patch) | |
tree | b3fb94dd1afdee0c23eb73e3bed60d3f8f20ddc1 | |
parent | 271382fd81a1c05449904c6335a1fbd49db9473e (diff) | |
download | rspamd-ec18910181e09e1aaae8a63c8ba2edf7b6cb6520.tar.gz rspamd-ec18910181e09e1aaae8a63c8ba2edf7b6cb6520.zip |
[Minor] Adopt lua_util.extract_specific_urls
-rw-r--r-- | lualib/lua_util.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_util.lua b/lualib/lua_util.lua index c2ba34b9e..842f079b2 100644 --- a/lualib/lua_util.lua +++ b/lualib/lua_util.lua @@ -891,7 +891,7 @@ exports.extract_specific_urls = function(params_or_task, lim, need_emails, filte if type(params[k]) == 'nil' and v ~= nil then params[k] = v end end - local urls = params.task:get_urls(params.need_emails) + local urls = params.task:get_urls(params.need_emails, params.need_images) return exports.filter_specific_urls(urls, params) end |