summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/phishing.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/phishing.lua')
-rw-r--r--src/plugins/lua/phishing.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua
index 22347b6c3..a34ad55b2 100644
--- a/src/plugins/lua/phishing.lua
+++ b/src/plugins/lua/phishing.lua
@@ -325,7 +325,7 @@ local function generic_service_plain_cb(string)
generic_service_data = new_data
rspamd_logger.infox(generic_service_hash, "parsed %s elements from %s feed",
- nelts, opts['generic_service_name'])
+ nelts, generic_service_name)
pool:destroy()
end
@@ -443,6 +443,9 @@ if opts then
if opts['generic_service_url'] then
generic_service_map = opts['generic_service_url']
end
+ if opts['generic_service_name'] then
+ generic_service_name = opts['generic_service_name']
+ end
if opts['generic_service_enabled'] then
generic_service_hash = rspamd_config:add_map({