aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index c532d0d..ced7b52 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -446,7 +446,7 @@ namespace OpenSim.Region.CoreModules.World.Land
446 { 446 {
447 if (d.GroupID == LandData.GroupID) 447 if (d.GroupID == LandData.GroupID)
448 { 448 {
449 m_groupMemberCache.Add(avatar, false, m_groupMemberCacheTimeout); 449 m_groupMemberCache.Add(avatar, true, m_groupMemberCacheTimeout);
450 return true; 450 return true;
451 } 451 }
452 } 452 }
@@ -454,10 +454,7 @@ namespace OpenSim.Region.CoreModules.World.Land
454 return false; 454 return false;
455 } 455 }
456 456
457 if (!sp.ControllingClient.IsGroupMember(LandData.GroupID)) 457 return sp.ControllingClient.IsGroupMember(LandData.GroupID);
458 return false;
459
460 return true;
461 } 458 }
462 return false; 459 return false;
463 } 460 }