aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
index 439b082..48c7717 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/InstantMessage/PresenceModule.cs
@@ -75,7 +75,12 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
75 75
76 if (m_Gridmode) 76 if (m_Gridmode)
77 NotifyMessageServerOfStartup(scene); 77 NotifyMessageServerOfStartup(scene);
78
78 scene.RegisterModuleInterface<IPresenceModule>(this); 79 scene.RegisterModuleInterface<IPresenceModule>(this);
80
81 scene.EventManager.OnNewClient += OnNewClient;
82 scene.EventManager.OnSetRootAgentScene += OnSetRootAgentScene;
83
79 m_Scenes.Add(scene); 84 m_Scenes.Add(scene);
80 } 85 }
81 } 86 }
@@ -107,6 +112,19 @@ namespace OpenSim.Region.Environment.Modules.Avatar.InstantMessage
107 { 112 {
108 } 113 }
109 114
115 public void OnNewClient(IClientAPI client)
116 {
117 client.OnConnectionClosed += OnConnectionClosed;
118 }
119
120 public void OnConnectionClosed(IClientAPI client)
121 {
122 }
123
124 public void OnSetRootAgentScene(UUID agentID)
125 {
126 }
127
110 private void NotifyMessageServerOfStartup(Scene scene) 128 private void NotifyMessageServerOfStartup(Scene scene)
111 { 129 {
112 Hashtable xmlrpcdata = new Hashtable(); 130 Hashtable xmlrpcdata = new Hashtable();