Changeset

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
parents 10284:cd669975031b
children 10286:23b26a414d71
files net/server_epoll.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);