aboutsummaryrefslogtreecommitdiffstats
path: root/net/http/server.lua
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
commit0e5b2786b420aeaea1372c532b464f9e48d40fa1 (patch)
tree6fbb0aa9f49633f6c7063bf215fb1bae704631cb /net/http/server.lua
parentffb91300cca8ad4deff5b4f443f7d26933f90bee (diff)
downloadprosody-0e5b2786b420aeaea1372c532b464f9e48d40fa1.tar.gz
prosody-0e5b2786b420aeaea1372c532b464f9e48d40fa1.zip
net.http.server: Expose events object (for debug purposes)
Diffstat (limited to 'net/http/server.lua')
-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;