From 9924f35613e7cbb1a30316c032f16e69234d9983 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 6 Aug 2007 13:21:30 +0000 Subject: * encapsulated firstname/lastname on ScenePresence * fixed 'users' console command * minor refactorings --- OpenSim/Region/Environment/Scenes/Scene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 56e5a0a..4a57d13 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -963,7 +963,7 @@ namespace OpenSim.Region.Environment.Scenes { foreach (ScenePresence presence in this.Avatars.Values) { - if ((presence.firstname == firstName) && (presence.lastname == lastName)) + if ((presence.Firstname == firstName) && (presence.Lastname == lastName)) { presence.ControllingClient.SendAgentAlertMessage(message, modal); break; -- cgit v1.1