mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
This commit is contained in:
@@ -207,7 +207,7 @@ namespace OpenSim.Services.Connectors
|
||||
if ((replyData != null) && replyData.ContainsKey("result") && (replyData["result"] != null))
|
||||
{
|
||||
if (replyData["result"] is Dictionary<string, object>)
|
||||
guinfo = new GridUserInfo((Dictionary<string, object>)replyData["result"]);
|
||||
guinfo = Create((Dictionary<string, object>)replyData["result"]);
|
||||
}
|
||||
|
||||
return guinfo;
|
||||
@@ -273,7 +273,7 @@ namespace OpenSim.Services.Connectors
|
||||
{
|
||||
if (griduser is Dictionary<string, object>)
|
||||
{
|
||||
GridUserInfo pinfo = new GridUserInfo((Dictionary<string, object>)griduser);
|
||||
GridUserInfo pinfo = Create((Dictionary<string, object>)griduser);
|
||||
rinfos.Add(pinfo);
|
||||
}
|
||||
else
|
||||
@@ -286,5 +286,10 @@ namespace OpenSim.Services.Connectors
|
||||
|
||||
return rinfos.ToArray();
|
||||
}
|
||||
|
||||
protected virtual GridUserInfo Create(Dictionary<string, object> griduser)
|
||||
{
|
||||
return new GridUserInfo(griduser);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user