aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP
diff options
context:
space:
mode:
authorUbitUmarov2017-01-07 18:41:46 +0000
committerUbitUmarov2017-01-07 18:41:46 +0000
commiteffa32cfa4cc252e9d52d536af510b4e1e92337c (patch)
tree58696b3dc64598d9b17c7c9b2da80dd93e8db133 /OpenSim/Region/ClientStack/Linden/UDP
parentrename same variables to make their meaning more clear (diff)
downloadopensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.zip
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.gz
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.bz2
opensim-SC-effa32cfa4cc252e9d52d536af510b4e1e92337c.tar.xz
replace godlevel compares by the new faster bool isViewerUIGod
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 316956b..2bcb3bc 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -11455,7 +11455,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11455 ScenePresence p; 11455 ScenePresence p;
11456 if (scene.TryGetScenePresence(sender.AgentId, out p)) 11456 if (scene.TryGetScenePresence(sender.AgentId, out p))
11457 { 11457 {
11458 if (p.GodController.GodLevel >= 200) 11458 if (p.isViewerUIGod)
11459 { 11459 {
11460 groupProfileReply.GroupData.OpenEnrollment = true; 11460 groupProfileReply.GroupData.OpenEnrollment = true;
11461 groupProfileReply.GroupData.MembershipFee = 0; 11461 groupProfileReply.GroupData.MembershipFee = 0;