From: Vsevolod Stakhov Date: Wed, 16 Nov 2016 15:45:18 +0000 (+0000) Subject: [Fix] Fix implicit settings module settingsup X-Git-Tag: 1.4.0~47 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e196a444964fc3d82c06bcb9223c0def5102534e;p=thirdparty%2Frspamd.git [Fix] Fix implicit settings module settingsup --- diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index e52a8ac66f..a940170907 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