changeset 2781:fe5bb7b13a59

mod_s2s_reload_newcomponent: Fix to use imported configmanager instead of global
author Matthew Wild <mwild1@gmail.com>
date Tue, 03 Oct 2017 22:37:15 +0100
parents d93a73282a93
children 8fd37f0e108c
files mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;