mod_component: Fix name of config option in error message (thanks nulani!)

Sat, 23 Jan 2010 02:53:44 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 23 Jan 2010 02:53:44 +0000
changeset 2839
254f738aecec
parent 2838
586893d29eaf
child 2840
5d27eb255901

mod_component: Fix name of config option in error message (thanks nulani!)

plugins/mod_component.lua file | annotate | diff | comparison | revisions
--- 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

mercurial