From a94393193e8859bbdcea0d553e4a946bd5e69a1c Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 30 Dec 2020 17:59:57 +0000 Subject: [PATCH] [Minor] Remove assertions as sometimes neural exists without settings... --- lualib/lua_settings.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lualib/lua_settings.lua b/lualib/lua_settings.lua index bf6826749..b645e5c4a 100644 --- a/lualib/lua_settings.lua +++ b/lualib/lua_settings.lua @@ -32,10 +32,6 @@ local lua_util = require "lua_util" local rspamd_logger = require "rspamd_logger" local function register_settings_cb(from_postload) - if not from_postload then - assert(false, 'invalid invocation') - end - if not post_init_performed then all_symbols = rspamd_config:get_symbols() -- 2.39.5