diff options
Diffstat (limited to 'core/hostmanager.lua')
-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); |