Changeset

3649:ae99396ee261

net.server_event: API parity with net.server_socket
author Paul Aurich <paul@darkrain42.org>
date Sun, 21 Nov 2010 21:02:31 -0800
parents 3646:66c5fb109e64
children 3650:2b80450bd7ae
files net/server_event.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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