From c6a1139e788355e82238eba92dc3c3bcae4e62cf Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Tue, 21 Sep 2010 17:37:11 +0500 Subject: net.xmppcomponent_listener, mod_component: Removed useless undocumented option 'component_address'. --- net/xmppcomponent_listener.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'net/xmppcomponent_listener.lua') diff --git a/net/xmppcomponent_listener.lua b/net/xmppcomponent_listener.lua index 5532186b..2cba2c32 100644 --- a/net/xmppcomponent_listener.lua +++ b/net/xmppcomponent_listener.lua @@ -73,13 +73,10 @@ function stream_callbacks.streamopened(session, attr) 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; -- cgit v1.2.3