diff options
Diffstat (limited to 'OpenSim/Region')
3 files changed, 15 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 3972ec9..e91d37f 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -9998,6 +9998,20 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
9998 | groupProfileReply.GroupData.MaturePublish = d.MaturePublish; | 9998 | groupProfileReply.GroupData.MaturePublish = d.MaturePublish; |
9999 | groupProfileReply.GroupData.OwnerRole = d.OwnerRole; | 9999 | groupProfileReply.GroupData.OwnerRole = d.OwnerRole; |
10000 | 10000 | ||
10001 | Scene scene = (Scene)m_scene; | ||
10002 | if (scene.Permissions.IsGod(sender.AgentId) && (!sender.IsGroupMember(groupProfileRequest.GroupData.GroupID))) | ||
10003 | { | ||
10004 | ScenePresence p; | ||
10005 | if (scene.TryGetScenePresence(sender.AgentId, out p)) | ||
10006 | { | ||
10007 | if (p.GodLevel >= 200) | ||
10008 | { | ||
10009 | groupProfileReply.GroupData.OpenEnrollment = true; | ||
10010 | groupProfileReply.GroupData.MembershipFee = 0; | ||
10011 | } | ||
10012 | } | ||
10013 | } | ||
10014 | |||
10001 | OutPacket(groupProfileReply, ThrottleOutPacketType.Task); | 10015 | OutPacket(groupProfileReply, ThrottleOutPacketType.Task); |
10002 | } | 10016 | } |
10003 | return true; | 10017 | return true; |
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs index 6532bbb..a12b57a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs | |||
@@ -146,7 +146,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure | |||
146 | scene.RegionInfo.RegionHandle, | 146 | scene.RegionInfo.RegionHandle, |
147 | (uint)presence.AbsolutePosition.X, | 147 | (uint)presence.AbsolutePosition.X, |
148 | (uint)presence.AbsolutePosition.Y, | 148 | (uint)presence.AbsolutePosition.Y, |
149 | (uint)presence.AbsolutePosition.Z); | 149 | (uint)presence.AbsolutePosition.Z + 2); |
150 | 150 | ||
151 | m_log.DebugFormat("[LURE]: TP invite with message {0}", message); | 151 | m_log.DebugFormat("[LURE]: TP invite with message {0}", message); |
152 | 152 | ||
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index c146b72..e8b5af0 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -1041,11 +1041,6 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
1041 | flags |= RegionFlags.ResetHomeOnTeleport; | 1041 | flags |= RegionFlags.ResetHomeOnTeleport; |
1042 | 1042 | ||
1043 | 1043 | ||
1044 | // Fudge these to always on, so the menu options activate | ||
1045 | // | ||
1046 | flags |= RegionFlags.AllowLandmark; | ||
1047 | flags |= RegionFlags.AllowSetHome; | ||
1048 | |||
1049 | // TODO: SkipUpdateInterestList | 1044 | // TODO: SkipUpdateInterestList |
1050 | 1045 | ||
1051 | // Omitted | 1046 | // Omitted |