core/componentmanager.lua

changeset 1009
0c3ea09d6d6e
parent 986
ebd94ad97b75
child 1041
07835534d996
child 1064
3e945c3938ad
--- a/core/componentmanager.lua	Sat Apr 18 04:06:41 2009 +0100
+++ b/core/componentmanager.lua	Sat Apr 18 14:18:50 2009 +0100
@@ -104,6 +104,7 @@
 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

mercurial