aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-08 20:01:53 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-08 20:01:53 +0100
commit493839e2acc5b05bec6733c5a345ffff6ddd46d1 (patch)
tree72052a6a345fae45590d14b30a0ec4ed4332c3f6
parentb1acfe581f70392b392a4509fb85bbefe3de99a8 (diff)
downloadprosody-493839e2acc5b05bec6733c5a345ffff6ddd46d1.tar.gz
prosody-493839e2acc5b05bec6733c5a345ffff6ddd46d1.zip
core.s2smanager: Look away... wait for it... now! Hopefully s2s should be back to normal.
-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