summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/model/uci.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/model/uci.lua')
-rw-r--r--src/ffluci/model/uci.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ffluci/model/uci.lua b/src/ffluci/model/uci.lua
index 2d6702b577..75d34c5d6d 100644
--- a/src/ffluci/model/uci.lua
+++ b/src/ffluci/model/uci.lua
@@ -61,11 +61,11 @@ end
-- Wrapper for "uci changes"
function Session.changes(self, config)
- return self:_uci3("changes " .. _path(config))
+ return self:_uci("changes " .. _path(config))
end
-function change(...)
- return default:change(...)
+function changes(...)
+ return default:changes(...)
end
@@ -105,7 +105,7 @@ function Session.revert(self, config)
end
function revert(...)
- return self:revert(...)
+ return default:revert(...)
end