aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit483406f11d91a9d8ea336cf2bdbdcb8a6bf0192d (patch)
tree9a5f6088fb71e6f1dc19700faa6beb75f16a4a93 /net
parent97492cf6027e3db711f9d13812cbdc93a7d2c540 (diff)
downloadprosody-483406f11d91a9d8ea336cf2bdbdcb8a6bf0192d.tar.gz
prosody-483406f11d91a9d8ea336cf2bdbdcb8a6bf0192d.zip
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
Diffstat (limited to 'net')
-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