mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
avoid NULL refs
This commit is contained in:
@@ -228,6 +228,8 @@ namespace OpenSim.Server.Handlers.GridUser
|
||||
int i = 0;
|
||||
foreach (GridUserInfo pinfo in pinfos)
|
||||
{
|
||||
if(pinfo == null)
|
||||
continue;
|
||||
Dictionary<string, object> rinfoDict = pinfo.ToKeyValuePairs();
|
||||
result["griduser" + i] = rinfoDict;
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user