From b16abc8166c29585cb76cc55c3bdd76e5833cb4f Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 5 Jan 2017 19:07:37 +0000 Subject: Massive tab and trailing space cleanup --- OpenSim/Region/CoreModules/Avatar/Gods/GodsModule.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/CoreModules/Avatar/Gods') 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 client.OnGodKickUser += KickUser; client.OnRequestGodlikePowers += RequestGodlikePowers; } - + public void UnsubscribeFromClientEvents(IClientAPI client) { client.OnGodKickUser -= KickUser; client.OnRequestGodlikePowers -= RequestGodlikePowers; } - + private void OnRegisterCaps(UUID agentID, Caps caps) { string uri = "/CAPS/" + UUID.Random(); caps.RegisterHandler( - "UntrustedSimulatorMessage", + "UntrustedSimulatorMessage", new RestStreamHandler("POST", uri, HandleUntrustedSimulatorMessage, "UntrustedSimulatorMessage", null)); } @@ -176,7 +176,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods if (godLike && sp.GodLevel < 200 && DialogModule != null) DialogModule.SendAlertToUser(agentID, "Request for god powers denied"); } - + /// /// Kicks or freezes User specified from the simulator. This logs them off of the grid /// @@ -261,7 +261,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods if(sp.IsDeleted || sp.IsChildAgent) return; sp.ControllingClient.Kick(reason); - sp.Scene.CloseAgent(sp.UUID, true); + sp.Scene.CloseAgent(sp.UUID, true); } private void OnIncomingInstantMessage(GridInstantMessage msg) -- cgit v1.1