diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-23 02:53:44 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-23 02:53:44 +0000 |
commit | 237f6835634f7c878c085b724b2e07bf84ef014a (patch) | |
tree | 1969780c4bd8972b7932e5342408246ebf86fa51 /plugins/mod_component.lua | |
parent | 040ff64c5f4005a681d8144f0614a50902cb3747 (diff) | |
download | prosody-237f6835634f7c878c085b724b2e07bf84ef014a.tar.gz prosody-237f6835634f7c878c085b724b2e07bf84ef014a.zip |
mod_component: Fix name of config option in error message (thanks nulani!)
Diffstat (limited to 'plugins/mod_component.lua')
-rw-r--r-- | plugins/mod_component.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_component.lua b/plugins/mod_component.lua index 69a42eaf..4201bb19 100644 --- a/plugins/mod_component.lua +++ b/plugins/mod_component.lua @@ -44,7 +44,7 @@ function handle_component_auth(session, stanza) local secret = config.get(session.user, "core", "component_secret"); if not secret then - (session.log or log)("warn", "Component attempted to identify as %s, but component_password is not set", session.user); + (session.log or log)("warn", "Component attempted to identify as %s, but component_secret is not set", session.user); session:close("not-authorized"); return; end |