aboutsummaryrefslogtreecommitdiffstats
path: root/net/websocket/frames.lua
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
commit8053e6cd90838ef83e27056840af3b7b43188d9b (patch)
treefd8631570a5ffabb9f7b13bb63e37db6b9174bab /net/websocket/frames.lua
parent36adf39958bcb5d4622bee2798cb456085bec065 (diff)
downloadprosody-8053e6cd90838ef83e27056840af3b7b43188d9b.tar.gz
prosody-8053e6cd90838ef83e27056840af3b7b43188d9b.zip
net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]
Diffstat (limited to 'net/websocket/frames.lua')
-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;