projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ab46b5b
)
Removed useless check
author
Waqas Hussain
<waqas20@gmail.com>
Sat, 22 Nov 2008 17:37:44 +0000
(22:37 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sat, 22 Nov 2008 17:37:44 +0000
(22:37 +0500)
util/jid.lua
patch
|
blob
|
history
diff --git
a/util/jid.lua
b/util/jid.lua
index 2e40a3388d286a13de429b42b6712a61dff0b968..065f176f524e4a0c72ce6e48d72cacce16e687ee 100644
(file)
--- a/
util/jid.lua
+++ b/
util/jid.lua
@@
-17,10
+17,8
@@
function bare(jid)
local node, host = split(jid);
if node and host then
return node.."@"..host;
- elseif host then
- return host;
end
- return
nil
;
+ return
host
;
end
return _M;