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