File

util/uuid.lua @ 311:513bd52e8e19

Fixed mod_register to use session.send for sending stanzas
author Waqas Hussain <waqas20@gmail.com>
date Sun, 16 Nov 2008 04:42:03 +0500
parent 145:fbb3a4ff9cf1
child 519:cccd610a0ef9
line wrap: on
line source


local m_random = math.random;
module "uuid"

function generate()
	return m_random(0, 99999999);
end

return _M;