diff options
author | Kim Alvefur <zash@zash.se> | 2014-04-01 15:26:40 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-04-01 15:26:40 +0200 |
commit | 8cf56e87aca20c4b09b56c0887464871d6eeab75 (patch) | |
tree | cad016a5f454d0b8045d7f614acd2ec2a57bbedf /net/server_event.lua | |
parent | e6321729335e91af8e8655e037586c2987ed75c4 (diff) | |
download | prosody-8cf56e87aca20c4b09b56c0887464871d6eeab75.tar.gz prosody-8cf56e87aca20c4b09b56c0887464871d6eeab75.zip |
net.server_{select,event}: Add compat code for supporting the same client port API on connections
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index e320b15c..25799640 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -367,6 +367,7 @@ do 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" |