aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-04-27 22:32:04 +0100
committerMatthew Wild <mwild1@gmail.com>2012-04-27 22:32:04 +0100
commit3547b00138ab3a8721b4872023f9f42944298815 (patch)
tree40d5ae8e324218c714858f62b93830aa09d69ae8 /core
parent88637ab348548a4893b1bea2bb813c13d7c26f19 (diff)
downloadprosody-3547b00138ab3a8721b4872023f9f42944298815.tar.gz
prosody-3547b00138ab3a8721b4872023f9f42944298815.zip
hostmanager: Add some TODO comments
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua
index 91c6d4e1..39af5732 100644
--- a/core/hostmanager.lua
+++ b/core/hostmanager.lua
@@ -109,6 +109,7 @@ function deactivate(host, reason)
end
-- Disconnect local users, s2s connections
+ -- TODO: These should move to mod_c2s and mod_s2s (how do they know they're being unloaded and not reloaded?)
if host_session.sessions then
for username, user in pairs(host_session.sessions) do
for resource, session in pairs(user.sessions) do
@@ -133,6 +134,7 @@ function deactivate(host, reason)
end
end
+ -- TODO: This should be done in modulemanager
if host_session.modules then
for module in pairs(host_session.modules) do
modulemanager.unload(host, module);