diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-04-29 02:06:05 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-04-29 02:06:05 +0100 |
commit | 3ba4121e11d4696a40e59486db4f005bf2c7eccd (patch) | |
tree | e35a025edca332b54bcb0a11345cb97f800ee78e /core | |
parent | d5d6bf5e7fb4cfc9f53f83d4b9d0656503678cbd (diff) | |
download | prosody-3ba4121e11d4696a40e59486db4f005bf2c7eccd.tar.gz prosody-3ba4121e11d4696a40e59486db4f005bf2c7eccd.zip |
core.componentmanager: Really fix marking components as disconnected when unregistered
Diffstat (limited to 'core')
-rw-r--r-- | core/componentmanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 96b78bf2..524d334b 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -104,7 +104,7 @@ end function deregister_component(host) if components[host] then modulemanager.unload(host, "dialback"); - host.connected = nil; + hosts[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 |