Software /
code /
prosody
Comparison
net/server_event.lua @ 6045:a5b5bce71a11
net.server_event: Rename conn:port() -> conn:clientport() to match server_select
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Mar 2014 23:02:52 +0100 |
parent | 5755:9a9c2c254412 |
child | 6046:b7dd7b8165df |
comparison
equal
deleted
inserted
replaced
6035:1b5ca55bf895 | 6045:a5b5bce71a11 |
---|---|
350 | 350 |
351 function interface_mt:server() | 351 function interface_mt:server() |
352 return self._server or self; | 352 return self._server or self; |
353 end | 353 end |
354 | 354 |
355 function interface_mt:port() | 355 function interface_mt:clientport() |
356 return self._port | 356 return self._port |
357 end | 357 end |
358 | 358 |
359 function interface_mt:serverport() | 359 function interface_mt:serverport() |
360 return self._serverport | 360 return self._serverport |