# HG changeset patch # User Paul Aurich # Date 1290402151 28800 # Node ID ae99396ee2610fa865e0135f047164f1bde65d41 # Parent 66c5fb109e641917e4325d51fb9967e4ab63e7a8 net.server_event: API parity with net.server_socket diff -r 66c5fb109e64 -r ae99396ee261 net/server_event.lua --- a/net/server_event.lua Sat Nov 27 19:49:29 2010 +0000 +++ b/net/server_event.lua Sun Nov 21 21:02:31 2010 -0800 @@ -361,6 +361,10 @@ end end + function interface_mt:socket() + return self.conn + end + function interface_mt:server() return self._server or self; end