From 98702f3312c7c697e588fcd03cfd580f366d4110 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sat, 27 Jun 2015 17:03:18 +0200 Subject: [PATCH] Fix settings --- src/plugins/lua/settings.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua index 1ea87e29e..643d2a378 100644 --- a/src/plugins/lua/settings.lua +++ b/src/plugins/lua/settings.lua @@ -29,6 +29,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -- https://rspamd.com/doc/configuration/settings.html local set_section = rspamd_config:get_all_opt("settings") +if not set_section then return end local settings = { [1] = {}, [2] = {}, -- 2.39.5