diff options
-rw-r--r-- | clamav-model.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clamav-model.lua b/clamav-model.lua index 60ebd8f..e42a76e 100644 --- a/clamav-model.lua +++ b/clamav-model.lua @@ -18,11 +18,11 @@ local path = "PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin -- ################################################################################ -- 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 @@ -47,12 +47,12 @@ function getfilelist() return cfe({ type="list", value=listed_files, label="ClamAV File List" }) end -function getfiledetails(clientdata) +function getfiledetails(self, clientdata) return modelfunctions.getfiledetails(clientdata.filename, filelist) end -function updatefiledetails(filedetails) - return modelfunctions.setfiledetails(filedetails, filelist) +function updatefiledetails(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, filelist) end function getlogfile () |