Software /
code /
prosody
Diff
net/websocket/frames.lua @ 6897:8972b1a96526
net.websocket.frames: Link to documentation when bitop is missing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 06 Oct 2015 16:49:01 +0200 |
parent | 6896:c11776f85552 |
child | 6898:d01254d5a825 |
line wrap: on
line diff
--- a/net/websocket/frames.lua Tue Oct 06 16:26:23 2015 +0200 +++ b/net/websocket/frames.lua Tue Oct 06 16:49:01 2015 +0200 @@ -11,7 +11,7 @@ local random_bytes = require "util.random".bytes; local bit = assert(softreq"bit" or softreq"bit32", - "No bit module found. Either LuaJIT 2, lua-bitop or Lua 5.2 is required"); + "No bit module found. See https://prosody.im/doc/depends#bitop"); local band = bit.band; local bor = bit.bor; local bxor = bit.bxor;