aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-26 06:58:57 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-26 06:58:57 +0100
commit2415fcd5c23fc0d5a4f42078eb96394a10f11872 (patch)
tree6fbb0aa9f49633f6c7063bf215fb1bae704631cb /net/http
parent9005efc19b223b78c011a908b5192ac681726eab (diff)
downloadprosody-2415fcd5c23fc0d5a4f42078eb96394a10f11872.tar.gz
prosody-2415fcd5c23fc0d5a4f42078eb96394a10f11872.zip
net.http.server: Expose events object (for debug purposes)
Diffstat (limited to 'net/http')
-rw-r--r--net/http/server.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/http/server.lua b/net/http/server.lua
index 906b3eaf..d6c3a03a 100644
--- a/net/http/server.lua
+++ b/net/http/server.lua
@@ -241,4 +241,5 @@ end
_M.listener = listener;
_M.codes = codes;
+_M._events = events;
return _M;