diff options
author | Kim Alvefur <zash@zash.se> | 2016-01-10 03:57:17 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-01-10 03:57:17 +0100 |
commit | 0f30c79999e4572c62f8f5bdfd29771b746db8d3 (patch) | |
tree | 64202f4daef595ff51640c1810fbb2751775faa4 /net/server_select.lua | |
parent | fb972a1ea95f574ecacd7a213a04c4cab5e41f56 (diff) | |
parent | 596cd6813cca26de9864a92650b04aa90d4af3c3 (diff) | |
download | prosody-0f30c79999e4572c62f8f5bdfd29771b746db8d3.tar.gz prosody-0f30c79999e4572c62f8f5bdfd29771b746db8d3.zip |
Merge 0.10->trunk
Diffstat (limited to 'net/server_select.lua')
-rw-r--r-- | net/server_select.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 4df6e12d..c89747bb 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -391,6 +391,9 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport out_put "server.lua: closed client handler and removed socket from list" return true end + handler.server = function ( ) + return server + end handler.ip = function( ) return ip end |