diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:02:53 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-04-28 12:02:53 +0000 |
commit | a59e00498ce92381773af2861c7e9b8fef1860f1 (patch) | |
tree | 74da1a29268324c5a4403b3f05bc8a6e9d8b1894 | |
parent | 1e9ed0f9034c7d4f2d9683eaed422568a0d3aa28 (diff) | |
download | acf-clamsmtp-a59e00498ce92381773af2861c7e9b8fef1860f1.tar.bz2 acf-clamsmtp-a59e00498ce92381773af2861c7e9b8fef1860f1.tar.xz |
Updated for handle_form now passing self to get and set functions
-rw-r--r-- | clamsmtp-model.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clamsmtp-model.lua b/clamsmtp-model.lua index e9dcdb5..c2d7c6a 100644 --- a/clamsmtp-model.lua +++ b/clamsmtp-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 @@ -38,6 +38,6 @@ function get_filedetails() return modelfunctions.getfiledetails(configfile) end -function update_filedetails(filedetails) - return modelfunctions.setfiledetails(filedetails, {configfile}) +function update_filedetails(self, filedetails) + return modelfunctions.setfiledetails(self, filedetails, {configfile}) end |