Comment out unused call to GridService in TeleportAgent()

0.7.1-dev
Justin Clark-Casey (justincc) 2011-01-28 22:59:07 +00:00
parent a4acf485d7
commit 933f47e89d
1 changed files with 1 additions and 1 deletions

View File

@ -702,7 +702,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// and convert the regionName to the target region
if (regionName.Contains(".") && regionName.Contains(":"))
{
List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
// List<GridRegion> regions = World.GridService.GetRegionsByName(World.RegionInfo.ScopeID, regionName, 1);
string[] parts = regionName.Split(new char[] { ':' });
if (parts.Length > 2)
regionName = parts[0] + ':' + parts[1] + "/ " + parts[2];