From: Ibirisol Fontes Date: Fri, 20 Jul 2018 12:01:04 +0000 (-0300) Subject: Fixing unused variable from CI #3588 X-Git-Tag: 1.7.9~79^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b6f864e6fcb72b9d5abe0ec72218d4452800be69;p=rspamd.git Fixing unused variable from CI #3588 --- 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({