diff options
author | Steven Barth <steven@midlink.org> | 2008-09-05 18:34:56 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-09-05 18:34:56 +0000 |
commit | 45319b232bc331492dd98e474c9ea60a9a70bc8f (patch) | |
tree | f9914e3b7e9b379c70e4bbd7b762f3ef8c738ae6 /libs/web/luasrc/config.lua | |
parent | 3e9e582572bbb893aba4240708b7fabd3a2accaa (diff) |
Heavy memory/performance optimizations #2
Diffstat (limited to 'libs/web/luasrc/config.lua')
-rw-r--r-- | libs/web/luasrc/config.lua | 2 |
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) |