mod_s2s_reload_newcomponent: Fix to use imported configmanager instead of global
authorMatthew Wild <mwild1@gmail.com>
Tue, 03 Oct 2017 22:37:15 +0100
changeset 2785 fe5bb7b13a59
parent 2784 d93a73282a93
child 2786 8fd37f0e108c
mod_s2s_reload_newcomponent: Fix to use imported configmanager instead of global
mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua
--- a/mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua	Tue Oct 03 22:47:27 2017 +0200
+++ b/mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua	Tue Oct 03 22:37:15 2017 +0100
@@ -9,7 +9,7 @@
         for host in pairs(defined_hosts) do
                 if (not hosts[host] and host ~= "*") then
                         module:log ("debug", "loading new component %s", host);
-                        modulemanager.load(host, configmanager.get(host, "core", "component_module"));
+                        modulemanager.load(host, config.get(host, "core", "component_module"));
                 end
         end;