aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-26 22:22:03 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-26 22:22:03 +0000
commit7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e (patch)
treeca47909a7c922aec72d189f247f1e751427e913c
parent944ab8a84e38a7d10257fab36578e37cb571d8cf (diff)
downloadprosody-7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e.tar.gz
prosody-7dae521ba5a3fdc39c0bba3e1d5ade1c0812be1e.zip
net.server_event: Add set_send() for compatibility with server_select
-rw-r--r--net/server_event.lua3
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()