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
commitc9df5f31d2f0ceef9e5c4e471eb2fe8be4334d9a (patch)
tree9a5f6088fb71e6f1dc19700faa6beb75f16a4a93 /net/server_event.lua
parentaff3965927ff8763b477b97a4be4f477186738a0 (diff)
downloadprosody-c9df5f31d2f0ceef9e5c4e471eb2fe8be4334d9a.tar.gz
prosody-c9df5f31d2f0ceef9e5c4e471eb2fe8be4334d9a.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