Changeset

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 1642:a4a6b4be973a
children 1645:9a862059bd97
files mod_reload_modules/mod_reload_modules.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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