Software /
code /
prosody
Changeset
2490:6eee75fb3159
mod_component: Fix name of config option in error message (thanks nulani!)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 23 Jan 2010 02:53:44 +0000 |
parents | 2489:d8296ab96f55 |
children | 2491:4be6810914eb |
files | plugins/mod_component.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_component.lua Fri Jan 22 16:36:11 2010 +0000 +++ b/plugins/mod_component.lua Sat Jan 23 02:53:44 2010 +0000 @@ -44,7 +44,7 @@ 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