aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-03-06 01:45:58 +0100
committerKim Alvefur <zash@zash.se>2018-03-06 01:45:58 +0100
commit3a3a5f55eb92b38f9fa4470d74090cabfa44df27 (patch)
treeb9780166d9f854ccf1a7d840f8f6b01f4e6628c1 /core
parent181caccc86df9d4a87b0a76a7d599dbdadc16483 (diff)
parentbde433b14c7b4880a4325ba27ef1e2dfafada426 (diff)
downloadprosody-3a3a5f55eb92b38f9fa4470d74090cabfa44df27.tar.gz
prosody-3a3a5f55eb92b38f9fa4470d74090cabfa44df27.zip
Merge 0.10->trunk
Diffstat (limited to 'core')
-rw-r--r--core/hostmanager.lua3
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";