diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-06-08 13:25:10 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-06-08 13:25:10 +0100 |
commit | aa79672dbdd1bef94119e520daacb47ac06d3935 (patch) | |
tree | aa161208c8e389dc9ecd23f35fe518dbd2d3c2f1 /core/modulemanager.lua | |
parent | ca7b97cf41f352191767af2cd6d95ad0b17a4a45 (diff) | |
download | prosody-aa79672dbdd1bef94119e520daacb47ac06d3935.tar.gz prosody-aa79672dbdd1bef94119e520daacb47ac06d3935.zip |
modulemanager: Use module_name in log entry to fix 'error initialising module "nil"' error
Diffstat (limited to 'core/modulemanager.lua')
-rw-r--r-- | core/modulemanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua index 187e4d6e..004b7dfb 100644 --- a/core/modulemanager.lua +++ b/core/modulemanager.lua @@ -128,7 +128,7 @@ function load(host, module_name, config) 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 |