summaryrefslogtreecommitdiffstats
path: root/opennhrp-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
committerTed Trask <ttrask01@yahoo.com>2012-04-28 12:17:44 +0000
commitf23c7d6a83381a8617ff74e8a0e740e146a7caec (patch)
tree1b1eb40f668ffe6406a9d478170050615ee5fba7 /opennhrp-controller.lua
parent8ba14caa082f7b1195db58f96375f6240630200c (diff)
downloadacf-opennhrp-f23c7d6a83381a8617ff74e8a0e740e146a7caec.tar.bz2
acf-opennhrp-f23c7d6a83381a8617ff74e8a0e740e146a7caec.tar.xz
Updated for handle_form now passing self to get and set functions
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