Software /
code /
prosody
Diff
core/componentmanager.lua @ 1991:ed4cd15bf4dd
componentmanager: Unload mod_tls for components before removing them.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sun, 18 Oct 2009 03:07:25 +0500 |
parent | 1990:b7fff80908b6 |
child | 1992:bbaba17537a9 |
line wrap: on
line diff
--- 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];