Software /
code /
prosody
Diff
net/server_event.lua @ 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 |
parent | 2237:63fc3cb50dc8 |
child | 2239:c050074d453a |
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()