projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b64da3
)
core.componentmanager: Really fix marking components as disconnected when unregistered
author
Matthew Wild
<mwild1@gmail.com>
Wed, 29 Apr 2009 01:06:05 +0000
(
02:06
+0100)
committer
Matthew Wild
<mwild1@gmail.com>
Wed, 29 Apr 2009 01:06:05 +0000
(
02:06
+0100)
core/componentmanager.lua
patch
|
blob
|
history
diff --git
a/core/componentmanager.lua
b/core/componentmanager.lua
index 96b78bf25e60d0c04e840f978942501262adef38..524d334bfc793a7ba2b9757396b8013835181ee9 100644
(file)
--- 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;
+ host
s[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