diff options
Diffstat (limited to 'libs/uci/luasrc/model/uci.lua')
-rw-r--r-- | libs/uci/luasrc/model/uci.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua index 7fc0c79fd..3b135c532 100644 --- a/libs/uci/luasrc/model/uci.lua +++ b/libs/uci/luasrc/model/uci.lua @@ -34,6 +34,7 @@ local error, pairs, ipairs, tostring = error, pairs, ipairs, tostring local require, getmetatable = require, getmetatable --- LuCI UCI model library. +-- @cstyle instance module("luci.model.uci") --- Create a new UCI-Cursor. @@ -50,10 +51,7 @@ function cursor_state() return cursor(nil, "/var/state") end ---- UCI-Cursor --- @class module --- @cstyle instance --- @name luci.model.uci.Cursor + local Cursor = getmetatable(cursor()) --- Applies the new config |