Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9691:e11e076f0eb8 | 9692:affcbccc1dff |
---|---|
20 | 20 |
21 local t_concat = table.concat; | 21 local t_concat = table.concat; |
22 local s_byte = string.byte; | 22 local s_byte = string.byte; |
23 local s_char= string.char; | 23 local s_char= string.char; |
24 local s_sub = string.sub; | 24 local s_sub = string.sub; |
25 local s_pack = string.pack; -- luacheck: ignore 143 | 25 local s_pack = string.pack; |
26 local s_unpack = string.unpack; -- luacheck: ignore 143 | 26 local s_unpack = string.unpack; |
27 | 27 |
28 if not s_pack and softreq"struct" then | 28 if not s_pack and softreq"struct" then |
29 s_pack = softreq"struct".pack; | 29 s_pack = softreq"struct".pack; |
30 s_unpack = softreq"struct".unpack; | 30 s_unpack = softreq"struct".unpack; |
31 end | 31 end |