From d2db971613c66f265f63a9c2543ad2cffab65dcb Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Sat, 22 Nov 2008 22:37:44 +0500 Subject: Removed useless check --- util/jid.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'util/jid.lua') 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; -- cgit v1.2.3