File

util/sasl/anonymous.lua @ 394:c2e959b60c13

plugins.smacks: explicitly import luasocket which stops setting globals in new versions
author Kim Alvefur <zash@zash.se>
date Thu, 03 Sep 2015 21:46:57 +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