diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 4cb0bec..e078348 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -110,10 +110,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
110 | { | 110 | { |
111 | if (this.Avatars.ContainsKey(toAgentID)) | 111 | if (this.Avatars.ContainsKey(toAgentID)) |
112 | { | 112 | { |
113 | // Local sim message | 113 | if (this.Avatars.ContainsKey(fromAgentID)) |
114 | ScenePresence avatar = this.Avatars[toAgentID]; | 114 | { |
115 | 115 | // Local sim message | |
116 | avatar.ControllingClient.SendInstantMessage(message, toAgentID); | 116 | ScenePresence avatar = this.Avatars[fromAgentID]; |
117 | avatar.ControllingClient.SendInstantMessage(message, toAgentID); | ||
118 | } | ||
119 | else | ||
120 | { | ||
121 | // Message came from a user outside the sim, ignore? | ||
122 | } | ||
117 | } | 123 | } |
118 | else | 124 | else |
119 | { | 125 | { |