From 5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf Mon Sep 17 00:00:00 2001 From: Melanie Date: Sun, 7 Nov 2010 16:08:41 +0100 Subject: [PATCH] Decrease min search length to 2 chars for map search. --- OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs index 9f8851708c..d2c3afbeee 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs @@ -86,9 +86,9 @@ namespace OpenSim.Region.CoreModules.World.WorldMap private void OnMapNameRequest(IClientAPI remoteClient, string mapName) { - if (mapName.Length < 3) + if (mapName.Length < 2) { - remoteClient.SendAlertMessage("Use a search string with at least 3 characters"); + remoteClient.SendAlertMessage("Use a search string with at least 2 characters"); return; }