aboutsummaryrefslogtreecommitdiffstats
path: root/core/modulemanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-22 21:54:34 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-22 21:54:34 +0100
commit4e32c53614b8d7f44cf44e9e2ff8efc3a7baad26 (patch)
tree75843398bab004422e0ca3abcceaf6b8816783ba /core/modulemanager.lua
parent8441ed782155cead1d9ca6f5a62d74e8ee9bdac5 (diff)
downloadprosody-4e32c53614b8d7f44cf44e9e2ff8efc3a7baad26.tar.gz
prosody-4e32c53614b8d7f44cf44e9e2ff8efc3a7baad26.zip
modulemanager: Fix copy/paste error, should be name instead of module_name
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
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