mirror of
https://github.com/opensim/opensim.git
synced 2026-08-03 07:26:16 +08:00
replace godlevel compares by the new faster bool isViewerUIGod
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.GodController.GodLevel >= 200)
|
||||
if (p.isViewerUIGod)
|
||||
{
|
||||
groupProfileReply.GroupData.OpenEnrollment = true;
|
||||
groupProfileReply.GroupData.MembershipFee = 0;
|
||||
|
||||
Reference in New Issue
Block a user