diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-23 05:03:36 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-23 05:03:36 +0000 |
commit | b94fd79634deabef5f4761825495e0940aec0ac6 (patch) | |
tree | be1d302b3f7e9e812e294b95cad8750e1a690ac6 /util/jid.lua | |
parent | 21df2699e2ffd587a014c9c345ca1161d6a4fc5c (diff) | |
parent | 43c503330db3d5b1613c1babcd5ef150d2ccf247 (diff) | |
download | prosody-b94fd79634deabef5f4761825495e0940aec0ac6.tar.gz prosody-b94fd79634deabef5f4761825495e0940aec0ac6.zip |
Merge from waqas
Diffstat (limited to 'util/jid.lua')
-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; |