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
commit99dbbce46c61b4db44eb518b982adbbff0149b22 (patch)
tree9a5f6088fb71e6f1dc19700faa6beb75f16a4a93 /net
parent335f485c89ad69d23cb800b6a012834fc0b2f4cf (diff)
downloadprosody-99dbbce46c61b4db44eb518b982adbbff0149b22.tar.gz
prosody-99dbbce46c61b4db44eb518b982adbbff0149b22.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