From 5ba0e16dc948acbdf2be2673f24c95c4d0592ada Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 25 Jun 2015 17:13:51 +0100 Subject: [PATCH] Remove stupid debug. --- src/plugins/lua/settings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 1ea87e29e2..7420d07164 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -412,7 +412,7 @@ local function process_settings_map(string) end end end -rspamd_logger.errx('hui: %1, %2', set_section[1], type(set_section)) + if set_section[1] and type(set_section[1]) == "string" then -- Just a map of ucl if rspamd_config:add_map(set_section[1], "settings map", process_settings_map) then -- 2.47.3