File

teal-src/util/uuid.d.tl @ 11704:0a8671f32424

mod_s2s: Guard against missing 'to' on incoming stream Given an incoming <stream:stream from="example.com"> this line would have mistakenly reported the 'from' as the local host. Neither are technically required and may be missing, especially on connections used only for Dialback. Outgoing connections initiated by Prosody always have 'from_host' and 'to_host', so it is safer to check it this way.
author Kim Alvefur <zash@zash.se>
date Sun, 18 Jul 2021 09:08:04 +0200
parent 11459:86904555bffc
child 12625:e43a01641ca1
line wrap: on
line source

local record lib
	get_nibbles : (number) : string
	generate : function () : string

	seed : function (string)
end
return lib