mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
Restructure god level and permissions
Create a class GodController which controls all aspects of god level, viewer modes and user levels at ScenePresence level.
This commit is contained in:
@@ -11455,7 +11455,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
ScenePresence p;
|
||||
if (scene.TryGetScenePresence(sender.AgentId, out p))
|
||||
{
|
||||
if (p.GodLevel >= 200)
|
||||
if (p.GodController.GodLevel >= 200)
|
||||
{
|
||||
groupProfileReply.GroupData.OpenEnrollment = true;
|
||||
groupProfileReply.GroupData.MembershipFee = 0;
|
||||
|
||||
Reference in New Issue
Block a user