aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index e6b31bdf..4a3ecb92 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -671,10 +671,9 @@ local function link(from, to)
to:set(nil, true);
end
--- XXX What uses this?
--- net.adns
-function interface:set_send(new_send)
- self.send = new_send;
+-- COMPAT
+-- net.adns calls this but then replaces :send so this can be a noop
+function interface:set_send(new_send) -- luacheck: ignore/212
end
-- Close all connections and servers