]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Adopt lua_util.extract_specific_urls
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Sep 2019 08:24:53 +0000 (09:24 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Fri, 20 Sep 2019 08:24:53 +0000 (09:24 +0100)
lualib/lua_util.lua

index c2ba34b9ea15da58a35c0e63ccb63f3553d57201..842f079b2d024957fb4b7f9a601ee647097cf893 100644 (file)
@@ -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