equal
deleted
inserted
replaced
7 local defined_hosts = config.getconfig(); |
7 local defined_hosts = config.getconfig(); |
8 |
8 |
9 for host in pairs(defined_hosts) do |
9 for host in pairs(defined_hosts) do |
10 if (not hosts[host] and host ~= "*") then |
10 if (not hosts[host] and host ~= "*") then |
11 module:log ("debug", "loading new component %s", host); |
11 module:log ("debug", "loading new component %s", host); |
12 modulemanager.load(host, configmanager.get(host, "core", "component_module")); |
12 modulemanager.load(host, config.get(host, "core", "component_module")); |
13 end |
13 end |
14 end; |
14 end; |
15 |
15 |
16 return; |
16 return; |
17 end |
17 end |