From 59afeb6c4cde99b836df61894564b54622b50a1c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 6 Oct 2017 02:43:46 +0100 Subject: [PATCH] remove a dead line of code --- .../CoreModules/World/Objects/Commands/ObjectCommandsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs index 28f1869131..3d786dda04 100644 --- a/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs +++ b/OpenSim/Region/CoreModules/World/Objects/Commands/ObjectCommandsModule.cs @@ -903,7 +903,7 @@ namespace OpenSim.Region.CoreModules.World.Objects.Commands List sceneObjects = new List(); Action searchAction; - int refusedAttachments = 0; + if (useRegex) { Regex nameRegex = new Regex(name);