net.websocket.frames: Link to documentation when bitop is missing
authorKim Alvefur <zash@zash.se>
Tue, 06 Oct 2015 16:49:01 +0200
changeset 6900 8972b1a96526
parent 6899 c11776f85552
child 6901 d01254d5a825
net.websocket.frames: Link to documentation when bitop is missing
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;