Diff

core/modulemanager.lua @ 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
parent 1378:d09ecc8ee1ef
child 1389:846df07536eb
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