diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 4 |
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 | ||