--- a/core/hostmanager.lua Fri Apr 27 22:31:53 2012 +0100
+++ b/core/hostmanager.lua Fri Apr 27 22:32:04 2012 +0100
@@ -109,6 +109,7 @@
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 @@
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);