aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rspamd_update.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-09-05 17:35:11 +0100
committerGitHub <noreply@github.com>2016-09-05 17:35:11 +0100
commit8ffbc09a630de7bb4ab2840eaaa9c87d36600fdc (patch)
tree008d76a92c46845ee56a296ec678cb1f818295c3 /src/plugins/lua/rspamd_update.lua
parentd11ccf98176c8768167451bf3a6f6ac0c74dfce7 (diff)
parent6d78b5329915411e47724f67c6830cca8f6aca33 (diff)
downloadrspamd-8ffbc09a630de7bb4ab2840eaaa9c87d36600fdc.tar.gz
rspamd-8ffbc09a630de7bb4ab2840eaaa9c87d36600fdc.zip
Merge pull request #928 from fatalbanana/derp
Revert useless commits
Diffstat (limited to 'src/plugins/lua/rspamd_update.lua')
-rw-r--r--src/plugins/lua/rspamd_update.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/plugins/lua/rspamd_update.lua b/src/plugins/lua/rspamd_update.lua
index 779cec2dd..19e481019 100644
--- a/src/plugins/lua/rspamd_update.lua
+++ b/src/plugins/lua/rspamd_update.lua
@@ -125,10 +125,6 @@ end
-- Configuration part
local section = rspamd_config:get_all_opt("rspamd_update")
if section then
- if section['enabled'] == false then
- rspamd_logger.infox(rspamd_config, 'module is disabled')
- return
- end
local trusted_key
each(function(k, elt)
if k == 'priority' then
@@ -158,5 +154,5 @@ if section then
end
end, maps)
else
- rspamd_logger.infox('Module is unconfigured')
+ rspamd_logger.infox(rspamd_config, 'Module is unconfigured')
end