diff options
| -rw-r--r-- | dansguardian-model.lua | 10 | 
1 files changed, 5 insertions, 5 deletions
diff --git a/dansguardian-model.lua b/dansguardian-model.lua index 4180226..97b69b9 100644 --- a/dansguardian-model.lua +++ b/dansguardian-model.lua @@ -82,11 +82,11 @@ get_status = function()  	return modelfunctions.getstatus(processname, packagename, "Dans Guardian Status")  end -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 @@ -116,7 +116,7 @@ read_general_config = function()  	return cfe({ type="group", value=retval, label="Dansguardian General Config" })  end -update_general_config = function( config ) +update_general_config = function(self, config)  	local success, config = validate_general_config(config)  	if success then @@ -143,8 +143,8 @@ get_file = function(filename)  	return modelfunctions.getfiledetails(filename, is_valid_filename)  end -update_file = function(filedetails) -	return modelfunctions.setfiledetails(filedetails, is_valid_filename) +update_file = function(self, filedetails) +	return modelfunctions.setfiledetails(self, filedetails, is_valid_filename)  end  list_files = function()  | 
