aboutsummaryrefslogtreecommitdiffstats
path: root/core/componentmanager.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2009-10-18 03:07:25 +0500
committerWaqas Hussain <waqas20@gmail.com>2009-10-18 03:07:25 +0500
commit54a8f8c07a676cb6814f514510a8f6368f243db5 (patch)
treebec6b8dedad417c207f5de5d9e12364b7a630533 /core/componentmanager.lua
parent7de06c45c42def40aedb5fae496878995caa4bb9 (diff)
downloadprosody-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.lua1
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];