mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Decrease min search length to 2 chars for map search.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user