If GridUserService is asked for a nonexistent user, bail gracefully
parent
1a7efc2c64
commit
d34599b1a5
|
@ -184,6 +184,9 @@ namespace OpenSim.Server.Handlers.GridUser
|
||||||
|
|
||||||
GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user);
|
GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user);
|
||||||
|
|
||||||
|
if (guinfo == null)
|
||||||
|
return FailureResult();
|
||||||
|
|
||||||
Dictionary<string, object> result = new Dictionary<string, object>();
|
Dictionary<string, object> result = new Dictionary<string, object>();
|
||||||
result["result"] = guinfo.ToKeyValuePairs();
|
result["result"] = guinfo.ToKeyValuePairs();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue