Comparison

net/websocket/frames.lua @ 7259:d8300985f2bb

net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Thu, 10 Mar 2016 17:52:03 +0000
parent 6900:44a7e9152b9a
child 8442:3a390fa561bf
comparison
equal deleted inserted replaced
7258:b8f60dd8e99a 7259:d8300985f2bb
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 local softreq = require "util.dependencies".softreq; 9 local softreq = require "util.dependencies".softreq;
10 local log = require "util.logger".init "websocket.frames";
11 local random_bytes = require "util.random".bytes; 10 local random_bytes = require "util.random".bytes;
12 11
13 local bit = assert(softreq"bit" or softreq"bit32", 12 local bit = assert(softreq"bit" or softreq"bit32",
14 "No bit module found. See https://prosody.im/doc/depends#bitop"); 13 "No bit module found. See https://prosody.im/doc/depends#bitop");
15 local band = bit.band; 14 local band = bit.band;