Software /
code /
prosody
Diff
net/server_event.lua @ 6047:4db0403bfc0d
net.server_{select,event}: Add compat code for supporting the same client port API on connections
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 01 Apr 2014 15:26:40 +0200 |
parent | 6046:b7dd7b8165df |
child | 6054:7a5ddbaf758d |
child | 6314:8029b8a5f37a |
line wrap: on
line diff
--- a/net/server_event.lua Mon Mar 31 19:38:06 2014 +0200 +++ b/net/server_event.lua Tue Apr 01 15:26:40 2014 +0200 @@ -367,6 +367,7 @@ function interface_mt:ssl() return self._usingssl end + interface_mt.clientport = interface_mt.port -- COMPAT server_select function interface_mt:type() return self._type or "client"