summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/web/luasrc/config.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/config.lua b/libs/web/luasrc/config.lua
index 12d7e8c91..dd3e01734 100644
--- a/libs/web/luasrc/config.lua
+++ b/libs/web/luasrc/config.lua
@@ -34,5 +34,5 @@ local require = require
module "luci.config"
pcall(function()
- util.update(_M, require "luci.model.uci".cursor():get_all("luci"))
+ setmetatable(_M, {__index=require "luci.model.uci".cursor():get_all("luci")})
end)