summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-11-09 03:14:08 +0000
committerTed Trask <ttrask01@yahoo.com>2013-11-09 03:14:08 +0000
commite4263da2e728b64dd0be91a0e9b0f181e263592b (patch)
treef6ad6758e15b5869715a107bcb63f9c28e2af983
parent337ac8243e4f7864b4f5918106ba29e1ff4b8b54 (diff)
downloadacf-awall-e4263da2e728b64dd0be91a0e9b0f181e263592b.tar.bz2
acf-awall-e4263da2e728b64dd0be91a0e9b0f181e263592b.tar.xz
Fix bug in viewpolicy caused by failure to use self pointer
-rw-r--r--awall-controller.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/awall-controller.lua b/awall-controller.lua
index e666304..c5f4153 100644
--- a/awall-controller.lua
+++ b/awall-controller.lua
@@ -15,7 +15,7 @@ function mymodule.listpolicies(self)
end
function mymodule.viewpolicy(self)
- return self.model.read_policyfile(self, clientdata)
+ return self.model.read_policyfile(self, self.clientdata)
end
function mymodule.createpolicy(self)