Mon, 08 Jun 2009 13:25:10 +0100
modulemanager: Use module_name in log entry to fix 'error initialising module "nil"' error
core/modulemanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/modulemanager.lua Sun Jun 07 17:44:48 2009 +0100 +++ b/core/modulemanager.lua Mon Jun 08 13:25:10 2009 +0100 @@ -128,7 +128,7 @@ local success, ret = pcall(mod); if not success then - log("error", "Error initialising module '%s': %s", name or "nil", ret or "nil"); + log("error", "Error initialising module '%s': %s", module_name or "nil", ret or "nil"); return nil, ret; end