summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-21 16:24:52 +0000
committerSteven Barth <steven@midlink.org>2008-06-21 16:24:52 +0000
commitb28bf0f3943d559aacf08058ec7f0f9c9454a92c (patch)
tree7eefe0c55e9222eea09f6cdf7f423bd19a4c1733 /libs
parentbfbd74c6ae869467061958c92f18d9cc28079ea5 (diff)
* Fixed last commit
Diffstat (limited to 'libs')
-rw-r--r--libs/httpd/luasrc/httpd/module.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/httpd/luasrc/httpd/module.lua b/libs/httpd/luasrc/httpd/module.lua
index ba745bde3..f1fb68763 100644
--- a/libs/httpd/luasrc/httpd/module.lua
+++ b/libs/httpd/luasrc/httpd/module.lua
@@ -119,7 +119,7 @@ end
-- Handler Response
Response = luci.util.class()
-function Response.__init__(self, request, status, headers)
+function Response.__init__(self, status, headers)
self.status = tonumber(status) or 200
self.headers = (type(headers) == "table") and headers or {}
end