Fix setting resource before we even know what it is

Sat, 04 Oct 2008 17:59:32 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Sat, 04 Oct 2008 17:59:32 +0100
changeset 57
126b25079399
parent 56
70ab5a1e574c
child 59
9e1541b72522
child 60
44800be871f5

Fix setting resource before we even know what it is

core/sessionmanager.lua file | annotate | diff | comparison | revisions
--- 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

mercurial