# HG changeset patch # User Matthew Wild # Date 1223139572 -3600 # Node ID 126b2507939906e041cd9518955840b15afd3d8f # Parent 70ab5a1e574c1c1fcc9a354645869b152f106e73 Fix setting resource before we even know what it is diff -r 70ab5a1e574c -r 126b25079399 core/sessionmanager.lua --- a/core/sessionmanager.lua Sat Oct 04 15:35:28 2008 +0100 +++ b/core/sessionmanager.lua Sat Oct 04 17:59:32 2008 +0100 @@ -66,7 +66,6 @@ function make_authenticated(session, username) session.username = username; - session.resource = resource; if session.type == "c2s_unauthed" then session.type = "c2s"; end