summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-05 18:34:56 +0000
committerSteven Barth <steven@midlink.org>2008-09-05 18:34:56 +0000
commit45319b232bc331492dd98e474c9ea60a9a70bc8f (patch)
treef9914e3b7e9b379c70e4bbd7b762f3ef8c738ae6 /libs
parent3e9e582572bbb893aba4240708b7fabd3a2accaa (diff)
Heavy memory/performance optimizations #2
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 12d7e8c917..dd3e01734e 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)