File

util/sasl/anonymous.lua @ 368:154c2f04d73b

init: Restore loading of LuaSec (must be loaded before net.server) (thanks 桜)
author Kim Alvefur <zash@zash.se>
date Sun, 16 Nov 2014 19:33:18 +0100 (2014-11-16)
parent 358:a8f6fd6a70ed
line wrap: on
line source

return function (stream, name)
	if name == "ANONYMOUS" then
		return function ()
			return coroutine.yield() == "success";
		end, 0;
	end
end