From bba30b78250a5b38022b57c8bcea4860e36d8227 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sun, 1 Jul 2012 03:31:41 +0000 Subject: Modified get_file to take self as first parameter --- asterisk-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asterisk-model.lua b/asterisk-model.lua index b5e28fb..67d47a4 100644 --- a/asterisk-model.lua +++ b/asterisk-model.lua @@ -36,7 +36,7 @@ function startstop_service(self, startstop, action) return modelfunctions.startstop_service(startstop, action) end -get_file = function(clientdata) +get_file = function(self, clientdata) return modelfunctions.getfiledetails(clientdata.filename, is_valid_filename) end -- cgit v1.2.3