aboutsummaryrefslogtreecommitdiffstats
path: root/net/websocket
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-12-02 02:12:06 +0100
committerKim Alvefur <zash@zash.se>2017-12-02 02:12:06 +0100
commit6f1b772ce0e678a37f6a21c4ce2c0d9a986de171 (patch)
treefd8631570a5ffabb9f7b13bb63e37db6b9174bab /net/websocket
parente2ef028b09f279bd53e991bc52c1ca1a3b8eff0a (diff)
downloadprosody-6f1b772ce0e678a37f6a21c4ce2c0d9a986de171.tar.gz
prosody-6f1b772ce0e678a37f6a21c4ce2c0d9a986de171.zip
net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]
Diffstat (limited to 'net/websocket')
-rw-r--r--net/websocket/frames.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/websocket/frames.lua b/net/websocket/frames.lua
index 5fe96d45..385f64ce 100644
--- a/net/websocket/frames.lua
+++ b/net/websocket/frames.lua
@@ -21,8 +21,8 @@ local t_concat = table.concat;
local s_byte = string.byte;
local s_char= string.char;
local s_sub = string.sub;
-local s_pack = string.pack;
-local s_unpack = string.unpack;
+local s_pack = string.pack; -- luacheck: ignore 143
+local s_unpack = string.unpack; -- luacheck: ignore 143
if not s_pack and softreq"struct" then
s_pack = softreq"struct".pack;