diff options
author | Kim Alvefur <zash@zash.se> | 2018-03-06 01:45:58 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-03-06 01:45:58 +0100 |
commit | d03099c7ccb22d9f6fc153fdc528bd8931be4c31 (patch) | |
tree | b9780166d9f854ccf1a7d840f8f6b01f4e6628c1 /core | |
parent | 980816bca6d2f3deafb5db0669453c538415b358 (diff) | |
parent | f7bf94cd0379a9d11e59d6fcb90348d10635377e (diff) | |
download | prosody-d03099c7ccb22d9f6fc153fdc528bd8931be4c31.tar.gz prosody-d03099c7ccb22d9f6fc153fdc528bd8931be4c31.zip |
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r-- | core/hostmanager.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/hostmanager.lua b/core/hostmanager.lua index 43dabf99..9acca517 100644 --- a/core/hostmanager.lua +++ b/core/hostmanager.lua @@ -84,6 +84,9 @@ function activate(host, host_config) send = host_send; modules = {}; }; + function host_session:close(reason) + log("debug", "Attempt to close host session %s with reason: %s", self.host, reason); + end setmetatable(host_session, host_mt); if not host_config.component_module then -- host host_session.type = "local"; |