aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorlbsa712007-08-06 13:21:30 +0000
committerlbsa712007-08-06 13:21:30 +0000
commit9924f35613e7cbb1a30316c032f16e69234d9983 (patch)
tree0d1759cb609449e75f986be3b2c650777092cec9 /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parent* minor refactorings (diff)
downloadopensim-SC-9924f35613e7cbb1a30316c032f16e69234d9983.zip
opensim-SC-9924f35613e7cbb1a30316c032f16e69234d9983.tar.gz
opensim-SC-9924f35613e7cbb1a30316c032f16e69234d9983.tar.bz2
opensim-SC-9924f35613e7cbb1a30316c032f16e69234d9983.tar.xz
* encapsulated firstname/lastname on ScenePresence
* fixed 'users' console command * minor refactorings
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index e839961..2f3ce6e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -124,7 +124,7 @@ namespace OpenSim.Region.Environment.Scenes
124 // Local sim message 124 // Local sim message
125 ScenePresence fromAvatar = this.Avatars[fromAgentID]; 125 ScenePresence fromAvatar = this.Avatars[fromAgentID];
126 ScenePresence toAvatar = this.Avatars[toAgentID]; 126 ScenePresence toAvatar = this.Avatars[toAgentID];
127 string fromName = fromAvatar.firstname + " " + fromAvatar.lastname; 127 string fromName = fromAvatar.Firstname + " " + fromAvatar.Lastname;
128 toAvatar.ControllingClient.SendInstantMessage(message, toAgentID, fromName); 128 toAvatar.ControllingClient.SendInstantMessage(message, toAgentID, fromName);
129 } 129 }
130 else 130 else
@@ -153,7 +153,7 @@ namespace OpenSim.Region.Environment.Scenes
153 { 153 {
154 avatar = this.Avatars[fromAgentID]; 154 avatar = this.Avatars[fromAgentID];
155 fromPos = avatar.Pos; 155 fromPos = avatar.Pos;
156 fromName = avatar.firstname + " " + avatar.lastname; 156 fromName = avatar.Firstname + " " + avatar.Lastname;
157 avatar = null; 157 avatar = null;
158 } 158 }
159 159