core/sessionmanager.lua

changeset 2747
168104895051
parent 2746
3b9547fc0bed
child 2750
4a6f32e6a8e5
--- a/core/sessionmanager.lua	Mon Mar 08 02:13:41 2010 +0000
+++ b/core/sessionmanager.lua	Thu Mar 11 01:04:19 2010 +0000
@@ -211,8 +211,8 @@
 end
 
 function streamclosed(session)
-	session.send("</stream:stream>");
-	session.notopen = true;
+	session.log("debug", "Received </stream:stream>");
+	session:close();
 end
 
 function send_to_available_resources(user, host, stanza)

mercurial