diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-26 22:22:03 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-26 22:22:03 +0000 |
commit | 7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e (patch) | |
tree | ca47909a7c922aec72d189f247f1e751427e913c /net/server_event.lua | |
parent | 944ab8a84e38a7d10257fab36578e37cb571d8cf (diff) | |
download | prosody-7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e.tar.gz prosody-7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e.zip |
net.server_event: Add set_send() for compatibility with server_select
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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()
|