Removed useless check

Sat, 22 Nov 2008 22:37:44 +0500

author
Waqas Hussain <waqas20@gmail.com>
date
Sat, 22 Nov 2008 22:37:44 +0500
changeset 384
4542bcdb7f55
parent 372
e7c1e30d06d5
child 385
c064117c9357

Removed useless check

util/jid.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial