Mantis 6507 keys returned by llGetAgentList incorrect for llList2Key

The type of the keys returned by llGetAgentList corrected to LSL_Key
user_profiles
Talun 2013-01-18 19:16:21 +00:00 committed by Justin Clark-Casey (justincc)
parent 652cfa2ee2
commit 4f70e423df
1 changed files with 2 additions and 2 deletions

View File

@ -5793,13 +5793,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (parcelOwned && land.LandData.OwnerID == id || if (parcelOwned && land.LandData.OwnerID == id ||
parcel && land.LandData.GlobalID == id) parcel && land.LandData.GlobalID == id)
{ {
result.Add(ssp.UUID.ToString()); result.Add(new LSL_Key(ssp.UUID.ToString()));
} }
} }
} }
else else
{ {
result.Add(ssp.UUID.ToString()); result.Add(new LSL_Key(ssp.UUID.ToString()));
} }
} }
// Maximum of 100 results // Maximum of 100 results