From: Vsevolod Stakhov Date: Fri, 20 Sep 2019 08:24:53 +0000 (+0100) Subject: [Minor] Adopt lua_util.extract_specific_urls X-Git-Tag: 2.0~170 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ec18910181e09e1aaae8a63c8ba2edf7b6cb6520;p=rspamd.git [Minor] Adopt lua_util.extract_specific_urls --- 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