aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2011-01-12 21:46:49 +0000
committerMelanie2011-01-12 21:46:49 +0000
commit705f4e1e4be44e6b96d028b3445681145a0c4d8f (patch)
tree9ae160fab19292fe50e48fc2ad2c8c35ddcd5dbb /OpenSim/Region/Framework/Scenes
parentFix direct item give permissions (diff)
downloadopensim-SC_OLD-705f4e1e4be44e6b96d028b3445681145a0c4d8f.zip
opensim-SC_OLD-705f4e1e4be44e6b96d028b3445681145a0c4d8f.tar.gz
opensim-SC_OLD-705f4e1e4be44e6b96d028b3445681145a0c4d8f.tar.bz2
opensim-SC_OLD-705f4e1e4be44e6b96d028b3445681145a0c4d8f.tar.xz
Dont' trust the viewer! Fix a permission slam error caused by trusting
the viewer too much.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 19fa6c5..e2d96d9 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -326,7 +326,6 @@ namespace OpenSim.Region.Framework.Scenes
326 { 326 {
327 if (UUID.Zero == transactionID) 327 if (UUID.Zero == transactionID)
328 { 328 {
329 item.Flags = itemUpd.Flags;
330 item.Name = itemUpd.Name; 329 item.Name = itemUpd.Name;
331 item.Description = itemUpd.Description; 330 item.Description = itemUpd.Description;
332 if (item.NextPermissions != (itemUpd.NextPermissions & item.BasePermissions)) 331 if (item.NextPermissions != (itemUpd.NextPermissions & item.BasePermissions))