aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-23 02:53:44 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-23 02:53:44 +0000
commit237f6835634f7c878c085b724b2e07bf84ef014a (patch)
tree1969780c4bd8972b7932e5342408246ebf86fa51 /plugins
parent040ff64c5f4005a681d8144f0614a50902cb3747 (diff)
downloadprosody-237f6835634f7c878c085b724b2e07bf84ef014a.tar.gz
prosody-237f6835634f7c878c085b724b2e07bf84ef014a.zip
mod_component: Fix name of config option in error message (thanks nulani!)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_component.lua2
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