From 493839e2acc5b05bec6733c5a345ffff6ddd46d1 Mon Sep 17 00:00:00 2001
From: Matthew Wild <mwild1@gmail.com>
Date: Wed, 8 Apr 2009 20:01:53 +0100
Subject: core.s2smanager: Look away... wait for it... now! Hopefully s2s
 should be back to normal.

---
 core/s2smanager.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'core')

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
 
-- 
cgit v1.2.3