Diff

core/sessionmanager.lua @ 99:ba08b8a4eeef

Abstract connections with "connection listeners" - Added connlistener for xmppclient - SASL/TLS now use a new session:reset_stream() method - main.lua on its way to being a bit neater
author Matthew Wild <mwild1@gmail.com>
date Wed, 22 Oct 2008 17:36:21 +0100
parent 77:531b981f2d17
child 118:76ac96c53ee5
line wrap: on
line diff
--- a/core/sessionmanager.lua	Wed Oct 22 17:27:40 2008 +0100
+++ b/core/sessionmanager.lua	Wed Oct 22 17:36:21 2008 +0100
@@ -20,7 +20,7 @@
 module "sessionmanager"
 
 function new_session(conn)
-	local session = { conn = conn, notopen = true, priority = 0, type = "c2s_unauthed" };
+	local session = { conn = conn,  priority = 0, type = "c2s_unauthed" };
 	if true then
 		session.trace = newproxy(true);
 		getmetatable(session.trace).__gc = function () print("Session got collected") end;