aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
commit988a7cc8cbb03db01d9cdd42514e08e6ef41f769 (patch)
tree0ce95dd94d0764579ec983126030ce69806797aa /net
parent7ba06d7db1ccd5701e6d471f289f68047ee8dab7 (diff)
downloadprosody-988a7cc8cbb03db01d9cdd42514e08e6ef41f769.tar.gz
prosody-988a7cc8cbb03db01d9cdd42514e08e6ef41f769.zip
server_event: Add luacheck annotations
Diffstat (limited to 'net')
-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