From c2020b7117b7998627468d0167c6c4b27f613954 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 1ea87e29e..7420d0716 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.39.5