diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-10-18 03:07:25 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-10-18 03:07:25 +0500 |
commit | 54a8f8c07a676cb6814f514510a8f6368f243db5 (patch) | |
tree | bec6b8dedad417c207f5de5d9e12364b7a630533 /core/componentmanager.lua | |
parent | 7de06c45c42def40aedb5fae496878995caa4bb9 (diff) | |
download | prosody-54a8f8c07a676cb6814f514510a8f6368f243db5.tar.gz prosody-54a8f8c07a676cb6814f514510a8f6368f243db5.zip |
componentmanager: Unload mod_tls for components before removing them.
Diffstat (limited to 'core/componentmanager.lua')
-rw-r--r-- | core/componentmanager.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/componentmanager.lua b/core/componentmanager.lua index c9e8a4b7..c6d1af9e 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -114,6 +114,7 @@ end 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]; |