diff options
author | Terry | 2019-11-12 11:02:10 -0500 |
---|---|---|
committer | UbitUmarov | 2019-11-14 05:26:54 +0000 |
commit | 2f79f463ea07369f6ec154c67b25705cf1a2a616 (patch) | |
tree | da64db8ae91f5dc6364dfb0f3c2cd1a026432cc2 /OpenSim/Services/GridService | |
parent | mantis 8627: handle the case constant compareOp constant on Yengine (diff) | |
download | opensim-SC-2f79f463ea07369f6ec154c67b25705cf1a2a616.zip opensim-SC-2f79f463ea07369f6ec154c67b25705cf1a2a616.tar.gz opensim-SC-2f79f463ea07369f6ec154c67b25705cf1a2a616.tar.bz2 opensim-SC-2f79f463ea07369f6ec154c67b25705cf1a2a616.tar.xz |
Attempt to fix the issue where, when logging into the grid, the user supplies a region name, but instead of going to the specific region, they are sent to a region "Like" the one specified.
Signed-off-by: Terry <terry@digiworldz.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to 'OpenSim/Services/GridService')
-rwxr-xr-x | OpenSim/Services/GridService/GridService.cs | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 40893a9..b672e8c 100755 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -490,7 +490,18 @@ namespace OpenSim.Services.GridService | |||
490 | return null; | 490 | return null; |
491 | } | 491 | } |
492 | 492 | ||
493 | public List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber) | 493 | //BA MOD.... |
494 | public GridRegion GetRegionByNameSpecific(UUID scopeID, string name) | ||
495 | { | ||
496 | RegionData rdata = m_Database.GetSpecific(name, scopeID); | ||
497 | if (rdata != null) | ||
498 | { | ||
499 | return RegionData2RegionInfo(rdata); | ||
500 | } | ||
501 | return null; | ||
502 | } | ||
503 | |||
504 | public List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber) | ||
494 | { | 505 | { |
495 | // m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); | 506 | // m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name); |
496 | 507 | ||