util/jid.lua

Tue, 26 Aug 2008 01:01:13 +0200

author
Tobias Markmann <tm@ayena.de>
date
Tue, 26 Aug 2008 01:01:13 +0200
changeset 16
ba8e796f9f94
parent 0
3e3171b59028
child 27
859b316e2fb0
permissions
-rw-r--r--

* missing base64 decode of SASL response


local match = string.match;

module "jid"

function split(jid)
	return match(jid, "^([^@]+)@([^/]+)/?(.*)$");
end

mercurial