diff options
author | UbitUmarov | 2017-01-07 18:41:46 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-07 18:41:46 +0000 |
commit | effa32cfa4cc252e9d52d536af510b4e1e92337c (patch) | |
tree | 58696b3dc64598d9b17c7c9b2da80dd93e8db133 /OpenSim/Region/CoreModules/Avatar/Lure | |
parent | rename same variables to make their meaning more clear (diff) | |
download | opensim-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/CoreModules/Avatar/Lure')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs index bd95ff0..9c80d0a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Lure/LureModule.cs | |||
@@ -169,7 +169,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure | |||
169 | 169 | ||
170 | GridInstantMessage m; | 170 | GridInstantMessage m; |
171 | 171 | ||
172 | if (scene.Permissions.IsAdministrator(client.AgentId) && presence.GodController.GodLevel >= 200 && (!scene.Permissions.IsAdministrator(targetid))) | 172 | if (scene.Permissions.IsAdministrator(client.AgentId) && presence.isViewerUIGod && (!scene.Permissions.IsAdministrator(targetid))) |
173 | { | 173 | { |
174 | m = new GridInstantMessage(scene, client.AgentId, | 174 | m = new GridInstantMessage(scene, client.AgentId, |
175 | client.FirstName+" "+client.LastName, targetid, | 175 | client.FirstName+" "+client.LastName, targetid, |