diff options
Diffstat (limited to 'tinydns-model.lua')
-rw-r--r-- | tinydns-model.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tinydns-model.lua b/tinydns-model.lua index 3df68a3..82c2934 100644 --- a/tinydns-model.lua +++ b/tinydns-model.lua @@ -157,11 +157,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 @@ -280,7 +280,7 @@ end function set_filedetails (self, filedetails, userid) configfiles = searchforconfigfiles(self, userid) - return modelfunctions.setfiledetails(filedetails, validfilename) + return modelfunctions.setfiledetails(self, filedetails, validfilename) end function getnewconfigfile() |