aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 158536d8..0ef8e241 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -250,7 +250,7 @@ function streamopened(session, attr)
end
function streamclosed(session)
- session.send("</stream:stream>");
+ session.sends2s("</stream:stream>");
session.notopen = true;
end