diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-04-27 22:32:04 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-04-27 22:32:04 +0100 |
commit | eece0f9d1ca55e86f36db9aa492e7435f4cd3061 (patch) | |
tree | 40d5ae8e324218c714858f62b93830aa09d69ae8 /core | |
parent | 65b45123fde803751782116779ab9a39f9e6dd67 (diff) | |
download | prosody-eece0f9d1ca55e86f36db9aa492e7435f4cd3061.tar.gz prosody-eece0f9d1ca55e86f36db9aa492e7435f4cd3061.zip |
hostmanager: Add some TODO comments
Diffstat (limited to 'core')
-rw-r--r-- | core/hostmanager.lua | 2 |
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); |