# HG changeset patch # User Kim Alvefur # Date 1444142941 -7200 # Node ID 8972b1a96526c6a154d8569ef4cf7e010100da67 # Parent c11776f8555278d90678aa8ad25392b52b2dd0e4 net.websocket.frames: Link to documentation when bitop is missing diff -r c11776f85552 -r 8972b1a96526 net/websocket/frames.lua --- 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;