Prevent sending Land Properties for unprivileged users
parent
7a5699224e
commit
cb1f2886cd
|
@ -27,6 +27,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using log4net;
|
||||
using OpenMetaverse;
|
||||
|
@ -367,13 +368,15 @@ namespace OpenSim.Region.CoreModules.World.Land
|
|||
ParcelFlags.DenyAgeUnverified);
|
||||
}
|
||||
|
||||
if (allowedDelta != 0)
|
||||
{
|
||||
uint preserve = LandData.Flags & ~allowedDelta;
|
||||
newData.Flags = preserve | (args.ParcelFlags & allowedDelta);
|
||||
|
||||
m_scene.LandChannel.UpdateLandObject(LandData.LocalID, newData);
|
||||
|
||||
SendLandUpdateToAvatarsOverMe(snap_selection);
|
||||
}
|
||||
}
|
||||
|
||||
public void UpdateLandSold(UUID avatarID, UUID groupID, bool groupOwned, uint AuctionID, int claimprice, int area)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue