diff options
author | Waqas Hussain <waqas20@gmail.com> | 2008-11-22 22:37:44 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2008-11-22 22:37:44 +0500 |
commit | d2db971613c66f265f63a9c2543ad2cffab65dcb (patch) | |
tree | a451f4cadf20cb5e0f47836727f0236923be8e0b | |
parent | 3b1d2b2963e15660f198804f2f19d10ba0380af2 (diff) | |
download | prosody-d2db971613c66f265f63a9c2543ad2cffab65dcb.tar.gz prosody-d2db971613c66f265f63a9c2543ad2cffab65dcb.zip |
Removed useless check
-rw-r--r-- | util/jid.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/util/jid.lua b/util/jid.lua index 2e40a338..065f176f 100644 --- 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; |