Software /
code /
prosody
Changeset
4731:84596fc32b31
hostmanager: Add some TODO comments
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 27 Apr 2012 22:32:04 +0100 |
parents | 4730:2587e249927f |
children | 4732:29ff25c8bf56 |
files | core/hostmanager.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);