# HG changeset patch # User Waqas Hussain # Date 1316557534 -18000 # Node ID 718445c040c44f284e4c9e261e4af34023ae300e # Parent 29581d16450ceb57781515320d04ab230a472826 modulemanager: Fix undefined global access in handling of module.save error handling. diff -r 29581d16450c -r 718445c040c4 core/modulemanager.lua --- 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";