Changeset

384:4542bcdb7f55

Removed useless check
author Waqas Hussain <waqas20@gmail.com>
date Sat, 22 Nov 2008 22:37:44 +0500
parents 372:e7c1e30d06d5
children 385:c064117c9357
files util/jid.lua
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
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;