Software /
code /
prosody
Diff
net/websocket/frames.lua @ 9692:affcbccc1dff
lint: Remove use of the 143 error code
Does not appear to be invoked by anything
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 08 Dec 2018 17:10:51 +0100 |
parent | 9691:e11e076f0eb8 |
child | 10241:48f7cda4174d |
line wrap: on
line diff
--- a/net/websocket/frames.lua Sat Dec 08 17:09:55 2018 +0100 +++ b/net/websocket/frames.lua Sat Dec 08 17:10:51 2018 +0100 @@ -22,8 +22,8 @@ local s_byte = string.byte; local s_char= string.char; local s_sub = string.sub; -local s_pack = string.pack; -- luacheck: ignore 143 -local s_unpack = string.unpack; -- luacheck: ignore 143 +local s_pack = string.pack; +local s_unpack = string.unpack; if not s_pack and softreq"struct" then s_pack = softreq"struct".pack;