From 4e32c53614b8d7f44cf44e9e2ff8efc3a7baad26 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 22 Jun 2009 21:54:34 +0100 Subject: modulemanager: Fix copy/paste error, should be name instead of module_name --- core/modulemanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modulemanager.lua') diff --git a/core/modulemanager.lua b/core/modulemanager.lua index c7aa5cce..24a0da6c 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -197,7 +197,7 @@ function reload(host, name, ...) 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 -- cgit v1.2.3