Comparison

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
comparison
equal deleted inserted replaced
43:03dc9df59368 44:80d2ade0fd69
1
2 local m_random = math.random;
3 module "uuid"
4
5 function uuid_generate()
6 return m_random(0, 99999999);
7 end
8
9 return _M;