util/jid.lua

changeset 367
cc26368294a3
parent 366
5691edc7dd63
child 368
34e88709b1b5
equal deleted inserted replaced
366:5691edc7dd63 367:cc26368294a3
1 1
2 local match = string.match; 2 local match = string.match;
3 local tostring = tostring; 3
4 local print = print
5 module "jid" 4 module "jid"
6 5
7 function split(jid) 6 function split(jid)
8 if not jid then return; end 7 if not jid then return; end
9 -- TODO verify JID, and return; if invalid 8 -- TODO verify JID, and return; if invalid

mercurial