modulemanager: Fix copy/paste error, should be name instead of module_name

Mon, 22 Jun 2009 21:54:34 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 22 Jun 2009 21:54:34 +0100
changeset 1386
9132f16666e4
parent 1385
8999dd4253f9
child 1387
64f18488b275

modulemanager: Fix copy/paste error, should be name instead of module_name

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Mon Jun 22 18:05:36 2009 +0100
+++ b/core/modulemanager.lua	Mon Jun 22 21:54:34 2009 +0100
@@ -197,7 +197,7 @@
 
 	local _mod, err = pluginloader.load_code(name); -- checking for syntax errors
 	if not _mod then
-		log("error", "Unable to load module '%s': %s", module_name or "nil", err or "nil");
+		log("error", "Unable to load module '%s': %s", name or "nil", err or "nil");
 		return nil, err;
 	end
 

mercurial