mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
If GridUserService is asked for a nonexistent user, bail gracefully
This commit is contained in:
@@ -184,6 +184,9 @@ namespace OpenSim.Server.Handlers.GridUser
|
||||
|
||||
GridUserInfo guinfo = m_GridUserService.GetGridUserInfo(user);
|
||||
|
||||
if (guinfo == null)
|
||||
return FailureResult();
|
||||
|
||||
Dictionary<string, object> result = new Dictionary<string, object>();
|
||||
if (guinfo != null)
|
||||
result["result"] = guinfo.ToKeyValuePairs();
|
||||
|
||||
Reference in New Issue
Block a user