aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 17:25:46 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 17:25:46 +0200
commit7d40c752adbaaa1d09e1a24b2aa5155a19cc883b (patch)
tree0ce95dd94d0764579ec983126030ce69806797aa
parent784d49907532f6190b962b0a09704075d812c4ba (diff)
downloadprosody-7d40c752adbaaa1d09e1a24b2aa5155a19cc883b.tar.gz
prosody-7d40c752adbaaa1d09e1a24b2aa5155a19cc883b.zip
server_event: Add luacheck annotations
-rw-r--r--net/server_event.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 517072e4..934501ab 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -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 @@ function interface_mt:set_mode(pattern)
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