Changeset

57:126b25079399

Fix setting resource before we even know what it is
author Matthew Wild <mwild1@gmail.com>
date Sat, 04 Oct 2008 17:59:32 +0100
parents 56:70ab5a1e574c
children 59:9e1541b72522 60:44800be871f5
files core/sessionmanager.lua
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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