# HG changeset patch # User Matthew Wild # Date 1335562324 -3600 # Node ID 84596fc32b31101aacff733a49b60b865e415fba # Parent 2587e249927fc65bca2985180709f176442e867c hostmanager: Add some TODO comments diff -r 2587e249927f -r 84596fc32b31 core/hostmanager.lua --- 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);