Mercurial > prosody-hg
view util/uuid.lua @ 349:256f18e2bfd2
Fix for setting the correct host on the socket, seems to fix s2s with XCP
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 19 Nov 2008 22:04:39 +0000 |
| parents | fbb3a4ff9cf1 |
| children | cccd610a0ef9 |
line wrap: on
line source
local m_random = math.random; module "uuid" function generate() return m_random(0, 99999999); end return _M;
