aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 558f108..1fdcfd2 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -772,7 +772,8 @@ namespace OpenSim.Region.Framework.Scenes
772 List<ScenePresence> presences = GetScenePresences(); 772 List<ScenePresence> presences = GetScenePresences();
773 foreach (ScenePresence presence in presences) 773 foreach (ScenePresence presence in presences)
774 { 774 {
775 if (presence.Firstname == firstName && presence.Lastname == lastName) 775 if (string.Equals(presence.Firstname, firstName, StringComparison.CurrentCultureIgnoreCase)
776 && string.Equals(presence.Lastname, lastName, StringComparison.CurrentCultureIgnoreCase))
776 return presence; 777 return presence;
777 } 778 }
778 return null; 779 return null;