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 --- .../Region/CoreModules/Avatar/Gestures/GesturesModule.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs') diff --git a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs index 4efcd3b..03e2c5a 100644 --- a/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Gestures/GesturesModule.cs @@ -42,11 +42,11 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures { [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "GesturesModule")] public class GesturesModule : INonSharedRegionModule - { + { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - + protected Scene m_scene; - + public void Initialise(IConfigSource source) { } @@ -67,7 +67,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures m_scene.EventManager.OnNewClient -= OnNewClient; m_scene = null; } - + public void Close() {} public string Name { get { return "Gestures Module"; } } @@ -81,7 +81,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures client.OnActivateGesture += ActivateGesture; client.OnDeactivateGesture += DeactivateGesture; } - + public virtual void ActivateGesture(IClientAPI client, UUID assetId, UUID gestureId) { IInventoryService invService = m_scene.InventoryService; @@ -92,7 +92,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures item.Flags |= 1; invService.UpdateItem(item); } - else + else m_log.WarnFormat( "[GESTURES]: Unable to find gesture {0} to activate for {1}", gestureId, client.Name); } @@ -107,7 +107,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gestures item.Flags &= ~(uint)1; invService.UpdateItem(item); } - else + else m_log.ErrorFormat( "[GESTURES]: Unable to find gesture to deactivate {0} for {1}", gestureId, client.Name); } -- cgit v1.1