Browse Source

[Minor] Remove assertions as sometimes neural exists without settings...

pull/3595/head
Vsevolod Stakhov 5 years ago
parent
commit
a94393193e
  1. 4
      lualib/lua_settings.lua

4
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()

Loading…
Cancel
Save