util/uuid.lua

Mon, 10 Nov 2008 01:30:52 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Mon, 10 Nov 2008 01:30:52 +0500
changeset 234
7c8313e055fb
parent 145
fbb3a4ff9cf1
child 519
cccd610a0ef9
permissions
-rw-r--r--

Hack to allow s2s stanzas to work until we do proper namespace handling


local m_random = math.random;
module "uuid"

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

return _M;

mercurial