aboutsummaryrefslogtreecommitdiffstats
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
commit8791fa6eca2b7e44f12e9e716900235c46e664ce (patch)
tree4f5c8b5629d40f44cf1a100a0affd20df216aa83
parent31ede02c28c4b837a6b9b4bb1e6dcafe51efb217 (diff)
downloadprosody-8791fa6eca2b7e44f12e9e716900235c46e664ce.tar.gz
prosody-8791fa6eca2b7e44f12e9e716900235c46e664ce.zip
net.server_epoll: Ignore unused self argument [luacheck]
-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);