aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
diff options
context:
space:
mode:
authorMW2007-07-13 21:12:16 +0000
committerMW2007-07-13 21:12:16 +0000
commit9b61def98dfa6a0b4f618cafdc84632774a77738 (patch)
tree862c4ec7b3f395901dd11da288cbe9478287a52a /OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
parent* Added sample event to ScriptInterpretedEvents (diff)
downloadopensim-SC-9b61def98dfa6a0b4f618cafdc84632774a77738.zip
opensim-SC-9b61def98dfa6a0b4f618cafdc84632774a77738.tar.gz
opensim-SC-9b61def98dfa6a0b4f618cafdc84632774a77738.tar.bz2
opensim-SC-9b61def98dfa6a0b4f618cafdc84632774a77738.tar.xz
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.cs6
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 {