Diff

util/jid.lua @ 384:4542bcdb7f55

Removed useless check
author Waqas Hussain <waqas20@gmail.com>
date Sat, 22 Nov 2008 22:37:44 +0500
parent 369:42de92add67b
child 519:cccd610a0ef9
line wrap: on
line diff
--- 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;