Make gatekeeper's address check case-insensitive.

avinationmerge
Marck 2010-11-27 09:18:39 +01:00 committed by Melanie
parent 2bee150aac
commit 4d104cf6fe
1 changed files with 2 additions and 1 deletions

View File

@ -333,7 +333,8 @@ namespace OpenSim.Services.HypergridService
string addressee = parts[0]; string addressee = parts[0];
m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName); m_log.DebugFormat("[GATEKEEPER SERVICE]: Verifying {0} against {1}", addressee, m_ExternalName);
return (addressee == m_ExternalName);
return string.Equals(addressee, m_ExternalName, StringComparison.OrdinalIgnoreCase);
} }
#endregion #endregion