Diff

util/uuid.lua @ 44:80d2ade0fd69

Add "uuid" library and make sessionmanager use this. ...and yes, the uuid generation needs work :P
author Matthew Wild <mwild1@gmail.com>
date Sat, 04 Oct 2008 02:12:54 +0100
child 145:fbb3a4ff9cf1
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/util/uuid.lua	Sat Oct 04 02:12:54 2008 +0100
@@ -0,0 +1,9 @@
+
+local m_random = math.random;
+module "uuid"
+
+function uuid_generate()
+	return m_random(0, 99999999);
+end
+
+return _M;
\ No newline at end of file