projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44844f4
)
Remove old TODO
author
Matthew Wild
<mwild1@gmail.com>
Fri, 21 Nov 2008 05:06:35 +0000
(
05:06
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 21 Nov 2008 05:06:35 +0000
(
05:06
+0000)
util/jid.lua
patch
|
blob
|
history
diff --git
a/util/jid.lua
b/util/jid.lua
index aad579e900b32445d4fbef7e07a8bb10f0350b0e..efa79b38a8505b98e95f165392951b5216314def 100644
(file)
--- a/
util/jid.lua
+++ b/
util/jid.lua
@@
-5,7
+5,6
@@
module "jid"
function split(jid)
if not jid then return; end
- -- TODO verify JID, and return; if invalid
local node, nodelen = match(jid, "^([^@]+)@()");
local host, hostlen = match(jid, "^([^@/]+)()", nodelen)
if node and not host then return nil, nil, nil; end