File

util/uuid.lua @ 117:8e5c5e6a3240

Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data).
author Waqas Hussain <waqas20@gmail.com>
date Thu, 23 Oct 2008 02:49:43 +0500
parent 44:80d2ade0fd69
child 145:fbb3a4ff9cf1
line wrap: on
line source


local m_random = math.random;
module "uuid"

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

return _M;