aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_settings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lualib/lua_settings.lua')
-rw-r--r--lualib/lua_settings.lua2
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