util/uuid.lua

Thu, 09 Oct 2008 02:08:33 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Thu, 09 Oct 2008 02:08:33 +0500
changeset 85
a115b99419ad
parent 44
80d2ade0fd69
child 145
fbb3a4ff9cf1
permissions
-rw-r--r--

Added: mod_register now replies with an error stanza when file write fails


local m_random = math.random;
module "uuid"

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

return _M;

mercurial