net/xmppcomponent_listener.lua

changeset 3503
85e511e01d3c
parent 3321
dcdfc04f9e3a
child 3504
adbb015b237e
--- a/net/xmppcomponent_listener.lua	Tue Sep 21 17:24:25 2010 +0500
+++ b/net/xmppcomponent_listener.lua	Tue Sep 21 17:37:11 2010 +0500
@@ -73,13 +73,10 @@
 		return;
 	end
 	
-	-- Store the original host (this is used for config, etc.)
-	session.user = attr.to;
-	-- Set the host for future reference
-	session.host = config.get(attr.to, "core", "component_address") or attr.to;
 	-- Note that we don't create the internal component 
 	-- until after the external component auths successfully
 
+	session.host = attr.to;
 	session.streamid = uuid_gen();
 	session.notopen = nil;
 	

mercurial