Software /
code /
prosody
File
util/uuid.lua @ 331:830fd67f9378
Quite some changes, to:
- Small logging fix for s2smanager
- Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11)
- init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this)
- Move sending of unavailable presence to where it should be, sessionmanager.destroy_session
- Fix sending of stream errors to wrong connection
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 18 Nov 2008 17:52:33 +0000 |
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;