Software /
code /
prosody
Changeset
8442:3a390fa561bf
net.websocket.frames: Ignore Lua 5.3-only fields [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 02 Dec 2017 02:12:06 +0100 (2017-12-02) |
parents | 8441:e6e69be59233 |
children | 8443:980885ba062c |
files | net/websocket/frames.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/net/websocket/frames.lua Fri Dec 01 05:13:28 2017 +0100 +++ b/net/websocket/frames.lua Sat Dec 02 02:12:06 2017 +0100 @@ -21,8 +21,8 @@ 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;