File

util/bit53.lua @ 11870:1d1ed2be3491

util.startup: Understand -h, -? as --help in prosodyctl but ignore prosodyctl -h showing an error was not very helpful, especially since prosodyctl shows its help for any unknown (or none) command.
author Kim Alvefur <zash@zash.se>
date Mon, 25 Oct 2021 15:47:18 +0200
parent 10241:48f7cda4174d
child 12358:d77d8fba44ad
line wrap: on
line source

-- Only the operators needed by net.websocket.frames are provided at this point
return {
	band   = function (a, b) return a & b end;
	bor    = function (a, b) return a | b end;
	bxor   = function (a, b) return a ~ b end;
};