From e196a444964fc3d82c06bcb9223c0def5102534e Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 16 Nov 2016 15:45:18 +0000 Subject: [PATCH] [Fix] Fix implicit settings module settingsup --- src/plugins/lua/settings.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index e52a8ac66..a94017090 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -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 -- 2.39.5