diff options
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 436231b..c5930a0 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |||
@@ -195,21 +195,6 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
195 | 195 | ||
196 | private void OnNewClient(IClientAPI client) | 196 | private void OnNewClient(IClientAPI client) |
197 | { | 197 | { |
198 | //m_log.DebugFormat("[EVENTQUEUE]: New client {0} detected in region {1}", client.AgentId, m_scene.RegionInfo.RegionName); | ||
199 | //lock (queues) | ||
200 | //{ | ||
201 | // if (queues.ContainsKey(client.AgentId)) | ||
202 | // { | ||
203 | // m_log.DebugFormat("[EVENTQUEUE]: Removing old queue for agent {0} in region {1}", client.AgentId, | ||
204 | // m_scene.RegionInfo.RegionName); | ||
205 | // queues.Remove(client.AgentId); | ||
206 | // } | ||
207 | |||
208 | // m_log.DebugFormat("[EVENTQUEUE]: Adding new queue for agent {0} in region {1}", client.AgentId, | ||
209 | // m_scene.RegionInfo.RegionName); | ||
210 | // queues[client.AgentId] = new BlockingLLSDQueue(); | ||
211 | //} | ||
212 | |||
213 | client.OnLogout += ClientClosed; | 198 | client.OnLogout += ClientClosed; |
214 | } | 199 | } |
215 | 200 | ||
@@ -291,6 +276,10 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
291 | public void OnRegisterCaps(UUID agentID, Caps caps) | 276 | public void OnRegisterCaps(UUID agentID, Caps caps) |
292 | { | 277 | { |
293 | m_log.DebugFormat("[EVENTQUEUE] OnRegisterCaps: agentID {0} caps {1} region {2}", agentID, caps, m_scene.RegionInfo.RegionName); | 278 | m_log.DebugFormat("[EVENTQUEUE] OnRegisterCaps: agentID {0} caps {1} region {2}", agentID, caps, m_scene.RegionInfo.RegionName); |
279 | |||
280 | // Let's instantiate a Queue for this agent right now | ||
281 | TryGetQueue(agentID); | ||
282 | |||
294 | string capsBase = "/CAPS/EQG/"; | 283 | string capsBase = "/CAPS/EQG/"; |
295 | UUID EventQueueGetUUID = UUID.Zero; | 284 | UUID EventQueueGetUUID = UUID.Zero; |
296 | 285 | ||