diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-09-05 08:48:00 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-09-05 09:03:11 +0200 |
commit | 68d3c2f3f31e24816f55d0c7e3838e199da1a9e0 (patch) | |
tree | 7801548d26e338cd44a833034f4b55c3e784a42e /src/plugins/lua/settings.lua | |
parent | df3173c9a8c3199349baaf11698ad23aa7f64e25 (diff) | |
download | rspamd-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/settings.lua')
-rw-r--r-- | src/plugins/lua/settings.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index e857d7f8e..b25698f27 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -21,10 +21,7 @@ limitations under the License. local rspamd_logger = require "rspamd_logger" local set_section = rspamd_config:get_all_opt("settings") if not (set_section and type(set_section) == 'table') then - rspamd_logger.infox('Module is unconfigured') -elseif set_section['enabled'] == false then - rspamd_logger.infox('Module is disabled') - return + rspamd_logger.infox(rspamd_config, 'Module is unconfigured') end local settings = { |