diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-09-21 17:37:11 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-09-21 17:37:11 +0500 |
commit | c6a1139e788355e82238eba92dc3c3bcae4e62cf (patch) | |
tree | fa10ec5c62e39cf46aeb0a9c2ede026801e18b2a /plugins/mod_component.lua | |
parent | 076aadf990ce6e3c48ec0e6f545fac2a3167d0d9 (diff) | |
download | prosody-c6a1139e788355e82238eba92dc3c3bcae4e62cf.tar.gz prosody-c6a1139e788355e82238eba92dc3c3bcae4e62cf.zip |
net.xmppcomponent_listener, mod_component: Removed useless undocumented option 'component_address'.
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 03331743..7c7e58c4 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -31,9 +31,9 @@ function handle_component_auth(session, stanza) return; end - local secret = config.get(session.user, "core", "component_secret"); + local secret = config.get(session.host, "core", "component_secret"); if not secret then - (session.log or log)("warn", "Component attempted to identify as %s, but component_secret is not set", session.user); + (session.log or log)("warn", "Component attempted to identify as %s, but component_secret is not set", session.host); session:close("not-authorized"); return; end |