]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix setting path for phishtank
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 29 Jun 2016 08:55:16 +0000 (09:55 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 29 Jun 2016 08:55:16 +0000 (09:55 +0100)
src/plugins/lua/phishing.lua

index bb7148fb645f9c25cc89c214be11380d3322e9eb..1620ca49eee2d66ac9d13d7474d0fe3296d707e9 100644 (file)
@@ -256,16 +256,16 @@ if opts then
     end
 
     if opts['phihtank_map'] then
-      phihtank_map = opts['openphish_map']
+      phishtank_map = opts['phihtank_map']
     end
     if opts['phihtank_url'] then
-      phihtank_map = opts['phihtank_url']
+      phishtank_map = opts['phihtank_url']
     end
 
     if opts['phishtank_enabled'] then
       phishtank_hash = rspamd_config:add_map({
           type = 'callback',
-          url = openphish_map,
+          url = phishtank_map,
           callback = phishtank_json_cb,
           description = 'Phishtank feed (see https://www.phishtank.com for details)'
         })