prosody/util/uuid.lua
2008-10-24 03:06:55 +01:00

9 lines
No EOL
112 B
Lua

local m_random = math.random;
module "uuid"
function generate()
return m_random(0, 99999999);
end
return _M;