Diff

net/server_event.lua @ 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
parent 3458:9c3ae41e696c
child 4008:36bee5ca8b95
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