Mercurial > prosody-modules
diff mod_reload_modules/mod_reload_modules.lua @ 1644:fc08d841a309
mod_reload_modules: Fix a bug introduced in commit 412f62d05a23, which caused mod_reload_modules to... not reload modules
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 02 Apr 2015 01:04:20 +0100 |
parents | 412f62d05a23 |
children | 57eb248f6dd3 |
line wrap: on
line diff
--- a/mod_reload_modules/mod_reload_modules.lua Tue Mar 31 20:57:34 2015 +0200 +++ b/mod_reload_modules/mod_reload_modules.lua Thu Apr 02 01:04:20 2015 +0100 @@ -26,7 +26,7 @@ for module_name in set.intersection(modules,configured_modules) do module:log("debug", "Reloading %s", module_name); - mm.reload(module_name); + mm.reload(module.host, module_name); end end