Software /
code /
prosody-modules
Comparison
mod_websocket/mod_websocket.lua @ 694:02fcb102b9aa
mod_websocket: Remove unnecessary require of tohex()
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Sat, 02 Jun 2012 04:59:16 +0200 |
parent | 693:7d165cd6168c |
child | 839:d297d76010d4 |
comparison
equal
deleted
inserted
replaced
693:7d165cd6168c | 694:02fcb102b9aa |
---|---|
18 local uuid_generate = require "util.uuid".generate; | 18 local uuid_generate = require "util.uuid".generate; |
19 local sha1 = require "util.hashes".sha1; | 19 local sha1 = require "util.hashes".sha1; |
20 local base64 = require "util.encodings".base64.encode; | 20 local base64 = require "util.encodings".base64.encode; |
21 local band = require "bit".band; | 21 local band = require "bit".band; |
22 local bxor = require "bit".bxor; | 22 local bxor = require "bit".bxor; |
23 local tohex = require "bit".tohex; | |
24 | 23 |
25 local xpcall, tostring, type = xpcall, tostring, type; | 24 local xpcall, tostring, type = xpcall, tostring, type; |
26 local traceback = debug.traceback; | 25 local traceback = debug.traceback; |
27 | 26 |
28 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams"; | 27 local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams"; |