Software /
code /
prosody
Diff
core/modulemanager.lua @ 4383:718445c040c4
modulemanager: Fix undefined global access in handling of module.save error handling.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 21 Sep 2011 03:25:34 +0500 |
parent | 4381:bf81b4784853 |
child | 4454:c73793664bfb |
line wrap: on
line diff
--- a/core/modulemanager.lua Wed Sep 21 03:23:47 2011 +0500 +++ b/core/modulemanager.lua Wed Sep 21 03:25:34 2011 +0500 @@ -215,7 +215,7 @@ if ok then saved = ret; else - log("warn", "Error saving module '%s:%s' state: %s", host, module, ret); + log("warn", "Error saving module '%s:%s' state: %s", host, name, ret); if not config.get(host, "core", "force_module_reload") then log("warn", "Aborting reload due to error, set force_module_reload to ignore this"); return nil, "save-state-failed";