diff options
author | Melanie | 2010-01-09 16:32:14 +0000 |
---|---|---|
committer | Melanie | 2010-01-09 16:32:14 +0000 |
commit | bc558788c2b52b6ec9143b1697806624b9fb7977 (patch) | |
tree | 88c3a034ce4bd9d55c13b4fb86d45b14515c6531 | |
parent | Implement the groups module query to make the estate allowed groups work (diff) | |
download | opensim-SC_OLD-bc558788c2b52b6ec9143b1697806624b9fb7977.zip opensim-SC_OLD-bc558788c2b52b6ec9143b1697806624b9fb7977.tar.gz opensim-SC_OLD-bc558788c2b52b6ec9143b1697806624b9fb7977.tar.bz2 opensim-SC_OLD-bc558788c2b52b6ec9143b1697806624b9fb7977.tar.xz |
A last fix for estate access by group. One should send the correct list.
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index deade6b..695cced 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -278,7 +278,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
278 | { | 278 | { |
279 | m_scene.RegionInfo.EstateSettings.AddEstateGroup(user); | 279 | m_scene.RegionInfo.EstateSettings.AddEstateGroup(user); |
280 | m_scene.RegionInfo.EstateSettings.Save(); | 280 | m_scene.RegionInfo.EstateSettings.Save(); |
281 | remote_client.SendEstateList(invoice, (int)Constants.EstateAccessCodex.AllowedGroups, m_scene.RegionInfo.EstateSettings.EstateAccess, m_scene.RegionInfo.EstateSettings.EstateID); | 281 | remote_client.SendEstateList(invoice, (int)Constants.EstateAccessCodex.AllowedGroups, m_scene.RegionInfo.EstateSettings.EstateGroups, m_scene.RegionInfo.EstateSettings.EstateID); |
282 | } | 282 | } |
283 | else | 283 | else |
284 | { | 284 | { |
@@ -292,7 +292,7 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
292 | m_scene.RegionInfo.EstateSettings.RemoveEstateGroup(user); | 292 | m_scene.RegionInfo.EstateSettings.RemoveEstateGroup(user); |
293 | m_scene.RegionInfo.EstateSettings.Save(); | 293 | m_scene.RegionInfo.EstateSettings.Save(); |
294 | 294 | ||
295 | remote_client.SendEstateList(invoice, (int)Constants.EstateAccessCodex.AllowedGroups, m_scene.RegionInfo.EstateSettings.EstateAccess, m_scene.RegionInfo.EstateSettings.EstateID); | 295 | remote_client.SendEstateList(invoice, (int)Constants.EstateAccessCodex.AllowedGroups, m_scene.RegionInfo.EstateSettings.EstateGroups, m_scene.RegionInfo.EstateSettings.EstateID); |
296 | } | 296 | } |
297 | else | 297 | else |
298 | { | 298 | { |