util/jid.lua

changeset 384
4542bcdb7f55
parent 369
42de92add67b
child 519
cccd610a0ef9
--- 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