aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Gods
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-05 19:07:37 +0000
committerMelanie Thielker2017-01-05 19:07:37 +0000
commitb16abc8166c29585cb76cc55c3bdd76e5833cb4f (patch)
tree6a34f465a74b7a3a6dc00a3d7aa8dcc25ac3e3a5 /OpenSim/Region/CoreModules/Avatar/Gods
parentMake it possible to disable the bakes module in the way it is described in co... (diff)
downloadopensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.zip
opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.gz
opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.bz2
opensim-SC-b16abc8166c29585cb76cc55c3bdd76e5833cb4f.tar.xz
Massive tab and trailing space cleanup
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Gods')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
index db02379..8d3c10d 100644
--- a/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs
@@ -112,19 +112,19 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
112 client.OnGodKickUser += KickUser; 112 client.OnGodKickUser += KickUser;
113 client.OnRequestGodlikePowers += RequestGodlikePowers; 113 client.OnRequestGodlikePowers += RequestGodlikePowers;
114 } 114 }
115 115
116 public void UnsubscribeFromClientEvents(IClientAPI client) 116 public void UnsubscribeFromClientEvents(IClientAPI client)
117 { 117 {
118 client.OnGodKickUser -= KickUser; 118 client.OnGodKickUser -= KickUser;
119 client.OnRequestGodlikePowers -= RequestGodlikePowers; 119 client.OnRequestGodlikePowers -= RequestGodlikePowers;
120 } 120 }
121 121
122 private void OnRegisterCaps(UUID agentID, Caps caps) 122 private void OnRegisterCaps(UUID agentID, Caps caps)
123 { 123 {
124 string uri = "/CAPS/" + UUID.Random(); 124 string uri = "/CAPS/" + UUID.Random();
125 125
126 caps.RegisterHandler( 126 caps.RegisterHandler(
127 "UntrustedSimulatorMessage", 127 "UntrustedSimulatorMessage",
128 new RestStreamHandler("POST", uri, HandleUntrustedSimulatorMessage, "UntrustedSimulatorMessage", null)); 128 new RestStreamHandler("POST", uri, HandleUntrustedSimulatorMessage, "UntrustedSimulatorMessage", null));
129 } 129 }
130 130
@@ -176,7 +176,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
176 if (godLike && sp.GodLevel < 200 && DialogModule != null) 176 if (godLike && sp.GodLevel < 200 && DialogModule != null)
177 DialogModule.SendAlertToUser(agentID, "Request for god powers denied"); 177 DialogModule.SendAlertToUser(agentID, "Request for god powers denied");
178 } 178 }
179 179
180 /// <summary> 180 /// <summary>
181 /// Kicks or freezes User specified from the simulator. This logs them off of the grid 181 /// Kicks or freezes User specified from the simulator. This logs them off of the grid
182 /// </summary> 182 /// </summary>
@@ -261,7 +261,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
261 if(sp.IsDeleted || sp.IsChildAgent) 261 if(sp.IsDeleted || sp.IsChildAgent)
262 return; 262 return;
263 sp.ControllingClient.Kick(reason); 263 sp.ControllingClient.Kick(reason);
264 sp.Scene.CloseAgent(sp.UUID, true); 264 sp.Scene.CloseAgent(sp.UUID, true);
265 } 265 }
266 266
267 private void OnIncomingInstantMessage(GridInstantMessage msg) 267 private void OnIncomingInstantMessage(GridInstantMessage msg)