comparison 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
comparison
equal deleted inserted replaced
1642:a4a6b4be973a 1644:fc08d841a309
24 24
25 modules:exclude(need_to_load+need_to_unload) 25 modules:exclude(need_to_load+need_to_unload)
26 26
27 for module_name in set.intersection(modules,configured_modules) do 27 for module_name in set.intersection(modules,configured_modules) do
28 module:log("debug", "Reloading %s", module_name); 28 module:log("debug", "Reloading %s", module_name);
29 mm.reload(module_name); 29 mm.reload(module.host, module_name);
30 end 30 end
31 end 31 end
32 32
33 33
34 if module.hook_global then 34 if module.hook_global then