From 8db5338e06abaebfc5f003b8a69711b45e7fee38 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 24 Feb 2023 12:40:07 +0000 Subject: [PATCH] fix typo --- .../ClientStack/Linden/Caps/SimulatorFeaturesModule.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs index fc784970f8..833e547d6c 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/SimulatorFeaturesModule.cs @@ -60,8 +60,7 @@ namespace OpenSim.Region.ClientStack.Linden [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "SimulatorFeaturesModule")] public class SimulatorFeaturesModule : INonSharedRegionModule, ISimulatorFeaturesModule { - private static readonly ILog m_log = - LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); + private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public event SimulatorFeaturesRequestDelegate OnSimulatorFeaturesRequest; @@ -422,8 +421,8 @@ namespace OpenSim.Region.ClientStack.Linden StringBuilder sb = new(400*1024); char[] trimc = new char[] {' ','\t', '\n', '\r'}; - s = sr.ReadLine(); - if(s == null) + string s = sr.ReadLine(); + if(s is null) return; s = s.Trim(trimc);