# HG changeset patch # User Matthew Wild # Date 1259274123 0 # Node ID 0a6375e9b2e2abea3b9e57ac0fac11c51dd0cd83 # Parent 63fc3cb50dc8be436ddd765ff9c62f957ac139c4 net.server_event: Add set_send() for compatibility with server_select diff -r 63fc3cb50dc8 -r 0a6375e9b2e2 net/server_event.lua --- 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()