summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/asn.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-09-05 08:48:00 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-09-05 09:03:11 +0200
commit68d3c2f3f31e24816f55d0c7e3838e199da1a9e0 (patch)
tree7801548d26e338cd44a833034f4b55c3e784a42e /src/plugins/lua/asn.lua
parentdf3173c9a8c3199349baaf11698ad23aa7f64e25 (diff)
downloadrspamd-68d3c2f3f31e24816f55d0c7e3838e199da1a9e0.tar.gz
rspamd-68d3c2f3f31e24816f55d0c7e3838e199da1a9e0.zip
Revert "[Feature] Add common way to disable Lua modules"
This reverts commit f552edd887794a5086dcf93d36f8f82d83553196. Conflicts: src/plugins/lua/antivirus.lua src/plugins/lua/asn.lua src/plugins/lua/dcc.lua src/plugins/lua/dmarc.lua src/plugins/lua/emails.lua src/plugins/lua/forged_recipients.lua src/plugins/lua/greylist.lua src/plugins/lua/hfilter.lua src/plugins/lua/ip_score.lua src/plugins/lua/maillist.lua src/plugins/lua/mime_types.lua src/plugins/lua/multimap.lua src/plugins/lua/once_received.lua src/plugins/lua/ratelimit.lua src/plugins/lua/rbl.lua src/plugins/lua/replies.lua src/plugins/lua/rspamd_update.lua src/plugins/lua/trie.lua src/plugins/lua/whitelist.lua
Diffstat (limited to 'src/plugins/lua/asn.lua')
-rw-r--r--src/plugins/lua/asn.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/lua/asn.lua b/src/plugins/lua/asn.lua
index 74672af27..25b684dc4 100644
--- a/src/plugins/lua/asn.lua
+++ b/src/plugins/lua/asn.lua
@@ -74,10 +74,6 @@ end
local configure_asn_module = function()
local opts = rspamd_config:get_all_opt('asn')
if opts then
- if opts['enabled'] == false then
- rspamd_logger.infox(rspamd_config, 'module is disabled')
- return
- end
for k,v in pairs(opts) do
options[k] = v
end