Software /
code /
prosody
File
util/uuid.lua @ 402:50f1c09541cd
Checking some variables for nil so no errors occur that'll break the server.
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Sun, 23 Nov 2008 20:43:42 +0100 |
parent | 145:fbb3a4ff9cf1 |
child | 519:cccd610a0ef9 |
line wrap: on
line source
local m_random = math.random; module "uuid" function generate() return m_random(0, 99999999); end return _M;