From: Vsevolod Stakhov Date: Wed, 30 Dec 2020 17:59:57 +0000 (+0000) Subject: [Minor] Remove assertions as sometimes neural exists without settings... X-Git-Tag: 2.7~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a94393193e8859bbdcea0d553e4a946bd5e69a1c;p=rspamd.git [Minor] Remove assertions as sometimes neural exists without settings... --- 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()