# HG changeset patch # User Gaurav # Date 1279268740 25200 # Node ID 7487f8b476628830f904a538415b651f8da91d25 # Parent 89051a926f7425fffe49db1a1222af378ecb86e2 mod_s2s_reload_newcomponent: fix debug logs diff -r 89051a926f74 -r 7487f8b47662 mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua --- a/mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua Fri Jul 16 01:19:49 2010 -0700 +++ b/mod_s2s_reload_newcomponent/mod_s2s_reload_newcomponent.lua Fri Jul 16 01:25:40 2010 -0700 @@ -4,14 +4,11 @@ module.host = "*"; local function reload_components() - module:log ("debug", "reload_components"); - local defined_hosts = config.getconfig(); for host in pairs(defined_hosts) do - module:log ("debug", "found host %s", host); if (not hosts[host] and host ~= "*") then - module:log ("debug", "found new host %s", host); + module:log ("debug", "loading new component %s", host); modulemanager.load(host, configmanager.get(host, "core", "component_module")); end end;