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 2490
6eee75fb3159
parent 2489
d8296ab96f55
child 2491
4be6810914eb

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 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