aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/GodController.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/GodController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/GodController.cs b/OpenSim/Region/Framework/Scenes/GodController.cs
index d45f560..abdbe51 100644
--- a/OpenSim/Region/Framework/Scenes/GodController.cs
+++ b/OpenSim/Region/Framework/Scenes/GodController.cs
@@ -141,7 +141,7 @@ namespace OpenSim.Region.Framework.Scenes
141 if (!shoudBeGod) 141 if (!shoudBeGod)
142 godLevel = 0; 142 godLevel = 0;
143 143
144 if (m_viewerUiIsGod != shoudBeGod) 144 if (m_viewerUiIsGod != shoudBeGod && (!m_scenePresence.IsChildAgent))
145 { 145 {
146 m_scenePresence.ControllingClient.SendAdminResponse(UUID.Zero, (uint)godLevel); 146 m_scenePresence.ControllingClient.SendAdminResponse(UUID.Zero, (uint)godLevel);
147 m_viewerUiIsGod = shoudBeGod; 147 m_viewerUiIsGod = shoudBeGod;