Changeset

6852:626d8152b1ad

server_event: Add luacheck annotations
author Kim Alvefur <zash@zash.se>
date Fri, 25 Sep 2015 17:25:46 +0200
parents 6851:1f1bed8ebc41
children 6853:a2cc477eb19b
files net/server_event.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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