Don't NPE during normal operation!

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3227 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2004-11-23 00:41:58 +00:00
parent 4cdcec6149
commit a9ccfc8553
@@ -110,7 +110,8 @@ public class CrowdServer extends PresentsServer
{
BodyObject bobj = (BodyObject)clmgr.getClientObject(username);
// TEMP until we figure some things out
if (bobj.getClass().getName().indexOf("AuthUserObject") != -1) {
if (bobj == null ||
bobj.getClass().getName().indexOf("AuthUserObject") != -1) {
return null;
}
// END TEMP