aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 76461b8a..74edb86c 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -113,7 +113,7 @@ function streamopened(session, attr)
if not hosts[session.host] then
-- We don't serve this host...
- session:disconnect{ condition = "host-unknown", text = "This server does not serve "..tostring(session.host)};
+ session:close{ condition = "host-unknown", text = "This server does not serve "..tostring(session.host)};
return;
end