summaryrefslogtreecommitdiffstats
path: root/syslog-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syslog-model.lua')
-rw-r--r--syslog-model.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/syslog-model.lua b/syslog-model.lua
index a46d95b..426b4fb 100644
--- a/syslog-model.lua
+++ b/syslog-model.lua
@@ -145,11 +145,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
@@ -193,7 +193,7 @@ function getconfig()
return config
end
-function updateconfig (config)
+function updateconfig (self, config)
local success = true
success, config = validateconfig(config)
@@ -206,6 +206,6 @@ function updateconfig (config)
return config
end
-function update_filedetails (filedetails)
- return modelfunctions.setfiledetails(filedetails, {configfile}, validate_configfile)
+function update_filedetails (self, filedetails)
+ return modelfunctions.setfiledetails(self, filedetails, {configfile}, validate_configfile)
end