diff options
-rw-r--r-- | src/plugins/lua/phishing.lua | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua index 04a0fe9b7..bb7148fb6 100644 --- a/src/plugins/lua/phishing.lua +++ b/src/plugins/lua/phishing.lua @@ -271,21 +271,17 @@ if opts then }) end - if openphish_hash then - rspamd_config:register_symbol({ - type = 'virtual', - parent = id, - name = openphish_symbol, - }) - end + rspamd_config:register_symbol({ + type = 'virtual', + parent = id, + name = openphish_symbol, + }) - if phishtank_hash then - rspamd_config:register_symbol({ - type = 'virtual', - parent = id, - name = phishtank_symbol, - }) - end + rspamd_config:register_symbol({ + type = 'virtual', + parent = id, + name = phishtank_symbol, + }) end if opts['domains'] and type(opt['domains']) == 'string' then domains = rspamd_config:add_map({ |