Diff

core/sessionmanager.lua @ 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
parent 53:14ea0fe6ca86
child 77:531b981f2d17
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