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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user