diff -r b7fff80908b6 -r ed4cd15bf4dd core/componentmanager.lua --- a/core/componentmanager.lua Sun Oct 18 01:52:37 2009 +0500 +++ b/core/componentmanager.lua Sun Oct 18 03:07:25 2009 +0500 @@ -114,6 +114,7 @@ function deregister_component(host) if components[host] then + modulemanager.unload(host, "tls"); modulemanager.unload(host, "dialback"); hosts[host].connected = nil; local host_config = configmanager.getconfig()[host];