Software /
code /
prosody
Comparison
util/uuid.lua @ 145:fbb3a4ff9cf1 s2s
dialback keys now verified
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 24 Oct 2008 03:06:55 +0100 |
parent | 44:80d2ade0fd69 |
child | 519:cccd610a0ef9 |
comparison
equal
deleted
inserted
replaced
144:ed78c1a0401e | 145:fbb3a4ff9cf1 |
---|---|
1 | 1 |
2 local m_random = math.random; | 2 local m_random = math.random; |
3 module "uuid" | 3 module "uuid" |
4 | 4 |
5 function uuid_generate() | 5 function generate() |
6 return m_random(0, 99999999); | 6 return m_random(0, 99999999); |
7 end | 7 end |
8 | 8 |
9 return _M; | 9 return _M; |