aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2014-03-27 23:02:52 +0100
committerKim Alvefur <zash@zash.se>2014-03-27 23:02:52 +0100
commitd495e6ca50697645c1c3c6b5cace68a5cd151464 (patch)
tree9a5f6088fb71e6f1dc19700faa6beb75f16a4a93 /net/server_event.lua
parente4ea0b094a43dd93fab253dff36efbe8aa3dc330 (diff)
downloadprosody-d495e6ca50697645c1c3c6b5cace68a5cd151464.tar.gz
prosody-d495e6ca50697645c1c3c6b5cace68a5cd151464.zip
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index e320b15c..c4aa7be4 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -352,7 +352,7 @@ do
return self._server or self;
end
- function interface_mt:port()
+ function interface_mt:clientport()
return self._port
end