summaryrefslogtreecommitdiffstats
path: root/opennhrp-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'opennhrp-controller.lua')
-rw-r--r--opennhrp-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/opennhrp-controller.lua b/opennhrp-controller.lua
index 4468997..832db2e 100644
--- a/opennhrp-controller.lua
+++ b/opennhrp-controller.lua
@@ -23,5 +23,5 @@ function editinterface(self)
end
function expert (self)
- return self.handle_form(self, function() return self.model:getconfigfile() end, function(value) return self.model:setconfigfile(value) end, self.clientdata, "Save", "Edit Config", "Configuration Set")
+ return self.handle_form(self, self.model.getconfigfile, self.model.setconfigfile, self.clientdata, "Save", "Edit Config", "Configuration Set")
end