aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-09-29 15:51:21 +0200
committerKim Alvefur <zash@zash.se>2019-09-29 15:51:21 +0200
commit2feedcb7d6875ff3ae40c615f3087de8a61c999e (patch)
tree4f5c8b5629d40f44cf1a100a0affd20df216aa83 /net/server_epoll.lua
parent79b375cb53b2e160d18309c6f88b9fa70a88d2e5 (diff)
downloadprosody-2feedcb7d6875ff3ae40c615f3087de8a61c999e.tar.gz
prosody-2feedcb7d6875ff3ae40c615f3087de8a61c999e.zip
net.server_epoll: Ignore unused self argument [luacheck]
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index d2964888..3aa37ee6 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -797,7 +797,7 @@ local function link(from, to, read_size)
self:pause();
to:write(data);
end
- function to:ondrain()
+ function to:ondrain() -- luacheck: ignore 212/self
from:resume();
end
from:set_mode(read_size);