From 7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Thu, 26 Nov 2009 22:22:03 +0000 Subject: net.server_event: Add set_send() for compatibility with server_select --- net/server_event.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'net') diff --git a/net/server_event.lua b/net/server_event.lua index 79b2f388..be006cab 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -380,6 +380,9 @@ do 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() -- cgit v1.2.3