diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 58c32a4..7c1faa3 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2087,7 +2087,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
2087 | /// <param name="sessionID"></param> | 2087 | /// <param name="sessionID"></param> |
2088 | /// <param name="token"></param> | 2088 | /// <param name="token"></param> |
2089 | /// <param name="controllingClient"></param> | 2089 | /// <param name="controllingClient"></param> |
2090 | public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token, | 2090 | public void handleRequestGodlikePowers(LLUUID agentID, LLUUID sessionID, LLUUID token, bool godLike, |
2091 | IClientAPI controllingClient) | 2091 | IClientAPI controllingClient) |
2092 | { | 2092 | { |
2093 | // First check that this is the sim owner | 2093 | // First check that this is the sim owner |
@@ -2102,7 +2102,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
2102 | { | 2102 | { |
2103 | if (sessionID == controllingClient.SessionId) | 2103 | if (sessionID == controllingClient.SessionId) |
2104 | { | 2104 | { |
2105 | m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token); | 2105 | //m_log.Info("godlike: " + godLike.ToString()); |
2106 | m_scenePresences[agentID].GrantGodlikePowers(agentID, testSessionID, token, godLike); | ||
2106 | } | 2107 | } |
2107 | } | 2108 | } |
2108 | } | 2109 | } |