summaryrefslogtreecommitdiffstats
path: root/zebra-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'zebra-model.lua')
-rw-r--r--zebra-model.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra-model.lua b/zebra-model.lua
index f09b1a2..2581d59 100644
--- a/zebra-model.lua
+++ b/zebra-model.lua
@@ -60,11 +60,11 @@ end
-- ################################################################################
-- PUBLIC FUNCTIONS
-function get_startstop(clientdata)
+function get_startstop(self, clientdata)
return modelfunctions.get_startstop(processname)
end
-function startstop_service(startstop, action)
+function startstop_service(self, startstop, action)
return modelfunctions.startstop_service(startstop, action)
end
@@ -76,8 +76,8 @@ function getconfigfile()
return modelfunctions.getfiledetails(configfile)
end
-function setconfigfile(filedetails)
- return modelfunctions.setfiledetails(filedetails, {configfile})
+function setconfigfile(self, filedetails)
+ return modelfunctions.setfiledetails(self, filedetails, {configfile})
end
function getdetails()