util/uuid.lua

Thu, 27 Nov 2008 23:36:17 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 27 Nov 2008 23:36:17 +0000
changeset 444
77485b9b840c
parent 145
fbb3a4ff9cf1
child 519
cccd610a0ef9
permissions
-rw-r--r--

Add module:unload() to mod_console, and allow module:load() to take config param


local m_random = math.random;
module "uuid"

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

return _M;

mercurial