Changeset

2238:0a6375e9b2e2

net.server_event: Add set_send() for compatibility with server_select
author Matthew Wild <mwild1@gmail.com>
date Thu, 26 Nov 2009 22:22:03 +0000
parents 2237:63fc3cb50dc8
children 2239:c050074d453a
files net/server_event.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Thu Nov 26 22:21:12 2009 +0000
+++ b/net/server_event.lua	Thu Nov 26 22:22:03 2009 +0000
@@ -380,6 +380,9 @@
 			self.starttls = false; -- prevent starttls()
 		end
 	end
+	
+	function interface_mt:set_send(new_send)
+		-- No-op, we always use the underlying connection's send
 	end
 	
 	function interface_mt:starttls()