mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
Removed useless check
This commit is contained in:
parent
3b1d2b2963
commit
d2db971613
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue