aboutsummaryrefslogtreecommitdiffstats
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
commit139241f580151209bb7d3579d57c601f2d99883c (patch)
treef9fae75e0985538c6e67aaeca73fda0da918e261
parentf80585f35478b8c9852a59cf2d8f28c0e12586a1 (diff)
downloadprosody-139241f580151209bb7d3579d57c601f2d99883c.tar.gz
prosody-139241f580151209bb7d3579d57c601f2d99883c.zip
mod_component: Fix name of config option in error message (thanks nulani!)
-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