diff options
author | Marck | 2010-11-27 09:18:39 +0100 |
---|---|---|
committer | Marck | 2010-11-27 09:18:39 +0100 |
commit | 947d730b56d901478f81fa396fca9373f1415eae (patch) | |
tree | f335631dad9d54ea2dcfbfacd39568023d844c90 /OpenSim | |
parent | Reformat an overzealous comment. Remove end of line marks and reference to the (diff) | |
download | opensim-SC-947d730b56d901478f81fa396fca9373f1415eae.zip opensim-SC-947d730b56d901478f81fa396fca9373f1415eae.tar.gz opensim-SC-947d730b56d901478f81fa396fca9373f1415eae.tar.bz2 opensim-SC-947d730b56d901478f81fa396fca9373f1415eae.tar.xz |
Make gatekeeper's address check case-insensitive.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Services/HypergridService/GatekeeperService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3f5c4f1..0aa5352 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs | |||
@@ -333,7 +333,8 @@ namespace OpenSim.Services.HypergridService | |||
333 | 333 | ||
334 | string addressee = parts[0]; | 334 | string addressee = parts[0]; |
335 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); | 335 | m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); |
336 | return (addressee == m_ExternalName); | 336 | |
337 | return string.Equals(addressee, m_ExternalName, StringComparison.OrdinalIgnoreCase); | ||
337 | } | 338 | } |
338 | 339 | ||
339 | #endregion | 340 | #endregion |