diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-15 17:12:41 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-08-15 17:12:41 +0100 |
commit | 456880ef0ab91d3cea8d83d1be9a670a8968ec67 (patch) | |
tree | 115d41d7c30a9408833f69752d1f11547a22bde8 /lualib/lua_settings.lua | |
parent | e49e683f0614b5f10a3c2f9d13c8cbdaf739364d (diff) | |
download | rspamd-456880ef0ab91d3cea8d83d1be9a670a8968ec67.tar.gz rspamd-456880ef0ab91d3cea8d83d1be9a670a8968ec67.zip |
[Minor] Fix for settings without `apply`
Diffstat (limited to 'lualib/lua_settings.lua')
-rw-r--r-- | lualib/lua_settings.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_settings.lua b/lualib/lua_settings.lua index cd8afe3ed..31c74bc98 100644 --- a/lualib/lua_settings.lua +++ b/lualib/lua_settings.lua @@ -46,7 +46,7 @@ local function register_settings_cb() local symnames = lua_util.list_to_hash(lua_util.keys(all_symbols)) for _,set in pairs(known_ids) do - local s = set.settings.apply + local s = set.settings.apply or {} set.symbols = lua_util.shallowcopy(symnames) local enabled_symbols = {} local seen_enabled = false |