util/uuid.lua

Thu, 23 Oct 2008 02:49:43 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 23 Oct 2008 02:49:43 +0500
changeset 117
8e5c5e6a3240
parent 44
80d2ade0fd69
child 145
fbb3a4ff9cf1
permissions
-rw-r--r--

Fixed: datamanager.store and datamanager.load could crash when username or host arguments were nil. (useful for server specific and global data).


local m_random = math.random;
module "uuid"

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

return _M;

mercurial