Changeset

2839:254f738aecec

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 2838:586893d29eaf
children 2840:5d27eb255901
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 14:58:31 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