plugins/mod_component.lua

changeset 2490
6eee75fb3159
parent 1523
841d61be198f
child 2495
9c32f469b82c
child 2923
b7049746bd29
--- 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

mercurial