]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Fix implicit settings module settingsup
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 Nov 2016 15:45:18 +0000 (15:45 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 16 Nov 2016 15:45:38 +0000 (15:45 +0000)
src/plugins/lua/settings.lua

index e52a8ac66f85ec168bbb58a6b2a2bb2eaba363c3..a940170907bb43afc7a00b918a8a07af862c4b22 100644 (file)
@@ -599,10 +599,6 @@ if redis_section then
 end
 
 local set_section = rspamd_config:get_all_opt("settings")
-if not redis_params and not (set_section and type(set_section) == 'table') then
-  rspamd_logger.infox(rspamd_config, 'Module is unconfigured')
-  return
-end
 
 if set_section and set_section[1] and type(set_section[1]) == "string" then
   -- Just a map of ucl