Removed our temporary code as we have figured said things out.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3234 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2004-11-24 20:37:36 +00:00
parent 226fe41e7c
commit 254e60811e
2 changed files with 1 additions and 17 deletions
@@ -108,14 +108,7 @@ public class CrowdServer extends PresentsServer
*/
public static BodyObject lookupBody (Name username)
{
BodyObject bobj = (BodyObject)clmgr.getClientObject(username);
// TEMP until we figure some things out
if (bobj == null ||
bobj.getClass().getName().indexOf("AuthUserObject") != -1) {
return null;
}
// END TEMP
return bobj;
return (BodyObject)clmgr.getClientObject(username);
}
public static void main (String[] args)
@@ -239,15 +239,6 @@ public class ClientManager
protected synchronized void mapClientObject (
Name username, ClientObject clobj)
{
// TEMP until we figure some things out
if (clobj.getClass().getName().indexOf("YoUserObject") == -1 &&
!username.toString().startsWith("! ")) {
String errmsg = "Mapping non-YoUserObject with unmassaged name! " +
"[username=" + username + "].";
Log.logStackTrace(new Exception(errmsg));
}
// END TEMP
// stuff the object into the mapping table
_objmap.put(username, clobj);