summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index 533b83864..a752f67a5 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -115,10 +115,7 @@ local sa_lists = {
local func_cache = {}
local section = rspamd_config:get_all_opt("spamassassin")
if not (section and type(section) == 'table') then
- rspamd_logger.info('Module is unconfigured')
-elseif section['enabled'] == false then
- rspamd_logger.info('Module is disabled')
- return
+ rspamd_logger.infox(rspamd_config, 'Module is unconfigured')
end
-- Minimum score to treat symbols as meta