aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-03 21:37:09 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-03 21:37:09 +0100
commit63d405dc25e6667dc983c6fe9635ca8e8fbc2768 (patch)
tree64d53933300658c35e03a604ac0254a3f64ed70c
parent0bee1c3195055afb101b3a7da843bd71f7ef7132 (diff)
downloadprosody-63d405dc25e6667dc983c6fe9635ca8e8fbc2768.tar.gz
prosody-63d405dc25e6667dc983c6fe9635ca8e8fbc2768.zip
sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/
-rw-r--r--core/sessionmanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index 24da7c83..8083ce8a 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -40,7 +40,7 @@ module "sessionmanager"
local open_sessions = 0;
function new_session(conn)
- local session = { conn = conn, priority = 0, type = "c2s_unauthed", conntime = gettime() };
+ local session = { conn = conn, type = "c2s_unauthed", conntime = gettime() };
if true then
session.trace = newproxy(true);
getmetatable(session.trace).__gc = function () open_sessions = open_sessions - 1; end;