diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-29 09:55:16 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-06-29 09:55:16 +0100 |
commit | e96ec2fb272366a106519f8740fc4940a12355a1 (patch) | |
tree | 4c5e7c0e8d6dba055f33d5d869643678de55de5b | |
parent | 8054ff84a9464aee07acbed6be8b95e1c3340170 (diff) | |
download | rspamd-e96ec2fb272366a106519f8740fc4940a12355a1.tar.gz rspamd-e96ec2fb272366a106519f8740fc4940a12355a1.zip |
[Fix] Fix setting path for phishtank
-rw-r--r-- | src/plugins/lua/phishing.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index bb7148fb6..1620ca49e 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -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)' }) |