aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Modules/InstantMessageModule.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/InstantMessageModule.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/InstantMessageModule.cs b/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
index 23dd0d9..cf6a94d 100644
--- a/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
+++ b/OpenSim/Region/Environment/Modules/InstantMessageModule.cs
@@ -65,12 +65,12 @@ namespace OpenSim.Region.Environment.Modules
65 LLUUID imSessionID, uint timestamp, string fromAgentName, 65 LLUUID imSessionID, uint timestamp, string fromAgentName,
66 string message, byte dialog) 66 string message, byte dialog)
67 { 67 {
68 foreach (Scene m_scene in m_scenes) 68 foreach (Scene scene in m_scenes)
69 { 69 {
70 if (m_scene.Entities.ContainsKey(toAgentID) && m_scene.Entities[toAgentID] is ScenePresence) 70 if (scene.Entities.ContainsKey(toAgentID) && scene.Entities[toAgentID] is ScenePresence)
71 { 71 {
72 // Local Message 72 // Local message
73 ScenePresence user = (ScenePresence) m_scene.Entities[toAgentID]; 73 ScenePresence user = (ScenePresence) scene.Entities[toAgentID];
74 if (!user.IsChildAgent) 74 if (!user.IsChildAgent)
75 { 75 {
76 user.ControllingClient.SendInstantMessage(fromAgentID, fromAgentSession, message, 76 user.ControllingClient.SendInstantMessage(fromAgentID, fromAgentSession, message,
@@ -83,6 +83,7 @@ namespace OpenSim.Region.Environment.Modules
83 } 83 }
84 84
85 // Still here, try send via Grid 85 // Still here, try send via Grid
86 // TODO
86 } 87 }
87 88
88 public void PostInitialise() 89 public void PostInitialise()