diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-16 15:45:18 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-16 15:45:38 +0000 |
commit | e196a444964fc3d82c06bcb9223c0def5102534e (patch) | |
tree | 284ba6076ba1fa50187407a173182523e032a86b /src | |
parent | a198fea999bc5a35ef8c96236dc007fe69861dda (diff) | |
download | rspamd-e196a444964fc3d82c06bcb9223c0def5102534e.tar.gz rspamd-e196a444964fc3d82c06bcb9223c0def5102534e.zip |
[Fix] Fix implicit settings module settingsup
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/lua/settings.lua | 4 |
1 files changed, 0 insertions, 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 |