diff options
author | Melanie | 2010-11-07 16:08:41 +0100 |
---|---|---|
committer | Melanie | 2010-11-07 16:08:41 +0100 |
commit | 5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf (patch) | |
tree | aface517f30c92fe51ab1ada2625f2f62bced434 /OpenSim/Region | |
parent | Fix the inventory transfer module to not cause duplicated text IMs (diff) | |
download | opensim-SC-5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf.zip opensim-SC-5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf.tar.gz opensim-SC-5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf.tar.bz2 opensim-SC-5a3cd9f1d0480c57585b629a4f9cc8ba08dec7cf.tar.xz |
Decrease min search length to 2 chars for map search.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs index 9f88517..d2c3afb 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 | |||
86 | 86 | ||
87 | private void OnMapNameRequest(IClientAPI remoteClient, string mapName) | 87 | private void OnMapNameRequest(IClientAPI remoteClient, string mapName) |
88 | { | 88 | { |
89 | if (mapName.Length < 3) | 89 | if (mapName.Length < 2) |
90 | { | 90 | { |
91 | remoteClient.SendAlertMessage("Use a search string with at least 3 characters"); | 91 | remoteClient.SendAlertMessage("Use a search string with at least 2 characters"); |
92 | return; | 92 | return; |
93 | } | 93 | } |
94 | 94 | ||