diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-30 17:59:57 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-12-30 17:59:57 +0000 |
commit | a94393193e8859bbdcea0d553e4a946bd5e69a1c (patch) | |
tree | aec74e8bb6f3ba3a78151320e9db02d46b1a88c1 | |
parent | 77d131d681eb197dad596f7b46a7791c7d77e7df (diff) | |
download | rspamd-a94393193e8859bbdcea0d553e4a946bd5e69a1c.tar.gz rspamd-a94393193e8859bbdcea0d553e4a946bd5e69a1c.zip |
[Minor] Remove assertions as sometimes neural exists without settings...
-rw-r--r-- | lualib/lua_settings.lua | 4 |
1 files changed, 0 insertions, 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() |