Changeset

1386:9132f16666e4

modulemanager: Fix copy/paste error, should be name instead of module_name
author Matthew Wild <mwild1@gmail.com>
date Mon, 22 Jun 2009 21:54:34 +0100
parents 1385:8999dd4253f9
children 1387:64f18488b275
files core/modulemanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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