# HG changeset patch # User Waqas Hussain # Date 1227375464 -18000 # Node ID 4542bcdb7f55a567199364a3addecd1b82bab25b # Parent e7c1e30d06d534b00d728176ab582c2799321c24 Removed useless check diff -r e7c1e30d06d5 -r 4542bcdb7f55 util/jid.lua --- a/util/jid.lua Fri Nov 21 05:59:03 2008 +0000 +++ b/util/jid.lua Sat Nov 22 22:37:44 2008 +0500 @@ -17,10 +17,8 @@ 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;