aboutsummaryrefslogtreecommitdiffstats
path: root/core/sessionmanager.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-10-22 17:36:21 +0100
committerMatthew Wild <mwild1@gmail.com>2008-10-22 17:36:21 +0100
commitee7b432ab1d450a42fae24b37c79b7fbda7f4e6b (patch)
treef5c0a969dcc3825bb99c3e1c38597056be201152 /core/sessionmanager.lua
parentd510d54b2809b31bcbbc1bcbbe461fc7b5f91a41 (diff)
downloadprosody-ee7b432ab1d450a42fae24b37c79b7fbda7f4e6b.tar.gz
prosody-ee7b432ab1d450a42fae24b37c79b7fbda7f4e6b.zip
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
Diffstat (limited to 'core/sessionmanager.lua')
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 4f8b1913..3a5625cb 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -20,7 +20,7 @@ local getmetatable = getmetatable;
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;