diff options
Chat/Shout/etc should be working again
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index b86e5c8..f9b3145 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -141,6 +141,12 @@ namespace OpenSim.Region.Environment.Scenes | |||
141 | { | 141 | { |
142 | // Console.WriteLine("Chat message"); | 142 | // Console.WriteLine("Chat message"); |
143 | ScenePresence avatar = null; | 143 | ScenePresence avatar = null; |
144 | if (this.Avatars.ContainsKey(fromAgentID)) | ||
145 | { | ||
146 | avatar = this.Avatars[fromAgentID]; | ||
147 | fromPos = avatar.Pos; | ||
148 | fromName = avatar.firstname + " " + avatar.lastname; | ||
149 | } | ||
144 | 150 | ||
145 | m_clientManager.ForEachClient(delegate(IClientAPI client) | 151 | m_clientManager.ForEachClient(delegate(IClientAPI client) |
146 | { | 152 | { |