server_event: Add luacheck annotations
authorKim Alvefur <zash@zash.se>
Fri, 25 Sep 2015 17:25:46 +0200
changeset 6855 626d8152b1ad
parent 6854 1f1bed8ebc41
child 6856 a2cc477eb19b
server_event: Add luacheck annotations
net/server_event.lua
--- a/net/server_event.lua	Fri Sep 25 17:12:55 2015 +0200
+++ b/net/server_event.lua	Fri Sep 25 17:25:46 2015 +0200
@@ -11,6 +11,7 @@
 			-- when using luasec, there are 4 cases of timeout errors: wantread or wantwrite during reading or writing
 
 --]]
+-- luacheck: ignore 212/self 431/err 211/ret
 
 local SCRIPT_NAME           = "server_event.lua"
 local SCRIPT_VERSION        = "0.05"
@@ -365,7 +366,7 @@
 	return self._pattern;
 end
 
-function interface_mt:set_send(new_send)
+function interface_mt:set_send(new_send) -- luacheck: ignore 212
 	-- No-op, we always use the underlying connection's send
 end