commit ec18910: [Minor] Adopt lua_util.extract_specific_urls

Vsevolod Stakhov vsevolod at highsecure.ru
Fri Sep 20 08:28:08 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-09-20 09:24:53 +0100
URL: https://github.com/rspamd/rspamd/commit/ec18910181e09e1aaae8a63c8ba2edf7b6cb6520 (HEAD -> master)

[Minor] Adopt lua_util.extract_specific_urls

---
 lualib/lua_util.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


More information about the Commits mailing list