Diff

net/server_epoll.lua @ 10285:bcf61e22f841

net.server_epoll: Ignore unused self argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 29 Sep 2019 15:51:21 +0200
parent 10284:cd669975031b
child 10289:8c59b20f71dc
line wrap: on
line diff
--- a/net/server_epoll.lua	Sun Sep 29 15:41:01 2019 +0200
+++ b/net/server_epoll.lua	Sun Sep 29 15:51:21 2019 +0200
@@ -797,7 +797,7 @@
 		self:pause();
 			to:write(data);
 	end
-	function to:ondrain()
+	function to:ondrain() -- luacheck: ignore 212/self
 			from:resume();
 	end
 	from:set_mode(read_size);