File

util/sasl/anonymous.lua @ 387:508bf163502b

Import util.rsm from prosody-modules
author Kim Alvefur <zash@zash.se>
date Wed, 19 Aug 2015 16:41:47 +0200
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