sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/

Fri, 03 Jul 2009 21:37:09 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Fri, 03 Jul 2009 21:37:09 +0100
changeset 1469
9f2b6e2bc498
parent 1468
83b297a412a2
child 1470
af4b918e3432

sessionmanager: Newly created sessions shouldn't have a priority. Fixes one of the stanza-gobbling bugs \o/

core/sessionmanager.lua file | annotate | diff | comparison | revisions
--- a/core/sessionmanager.lua	Fri Jul 03 14:58:11 2009 +0100
+++ b/core/sessionmanager.lua	Fri Jul 03 21:37:09 2009 +0100
@@ -40,7 +40,7 @@
 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;

mercurial