componentmanager: Set host.connected = nil when deregistering a component so that we fully restore it when we reload

remotes/origin/sasl
Matthew Wild 17 years ago
parent 05fbcb767c
commit b6bc449cd3
  1. 1
      core/componentmanager.lua

@ -104,6 +104,7 @@ end
function deregister_component(host)
if components[host] then
modulemanager.unload(host, "dialback");
host.connected = nil;
local host_config = configmanager.getconfig()[host];
if host_config and ((host_config.core.enabled == nil or host_config.core.enabled) and type(host_config.core.component_module) == "string") then
-- Set default handler

Loading…
Cancel
Save