aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2014-04-01 15:02:36 +0100
committerMatthew Wild <mwild1@gmail.com>2014-04-01 15:02:36 +0100
commitcd38d3134c71aab3ae8b22f0062e6a7d18c642f3 (patch)
tree5922ad0f54f6bacd39cea376012e8ac27eaf58e1 /net/server_select.lua
parente980309be346e4229c624f54735b0f82fc7813b4 (diff)
parenta447bea855199d910e39a82d7e0eda24befbbc7a (diff)
downloadprosody-cd38d3134c71aab3ae8b22f0062e6a7d18c642f3.tar.gz
prosody-cd38d3134c71aab3ae8b22f0062e6a7d18c642f3.zip
Merge
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 22887265..4bda3ef0 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -397,6 +397,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
handler.clientport = function( )
return clientport
end
+ handler.port = handler.clientport -- COMPAT server_event
local write = function( self, data )
bufferlen = bufferlen + #data
if bufferlen > maxsendlen then