diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 2eb1618..76fb141 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |||
@@ -268,10 +268,9 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
268 | { | 268 | { |
269 | return ProcessQueue(m_dhttpMethod,agentID, caps); | 269 | return ProcessQueue(m_dhttpMethod,agentID, caps); |
270 | })); | 270 | })); |
271 | 271 | ||
272 | bool boolval = false; | ||
273 | // This will persist this beyond the expiry of the caps handlers | 272 | // This will persist this beyond the expiry of the caps handlers |
274 | boolval = m_scene.AddHTTPHandler(capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePath2); | 273 | m_scene.AddHTTPHandler(capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePath2); |
275 | 274 | ||
276 | Random rnd = new Random(System.Environment.TickCount); | 275 | Random rnd = new Random(System.Environment.TickCount); |
277 | lock (m_ids) | 276 | lock (m_ids) |
@@ -421,7 +420,7 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
421 | string capuuid = path.Replace("/CAPS/EQG/",""); | 420 | string capuuid = path.Replace("/CAPS/EQG/",""); |
422 | capuuid = capuuid.Substring(0, capuuid.Length - 1); | 421 | capuuid = capuuid.Substring(0, capuuid.Length - 1); |
423 | 422 | ||
424 | UUID AvatarID = UUID.Zero; | 423 | // UUID AvatarID = UUID.Zero; |
425 | UUID capUUID = UUID.Zero; | 424 | UUID capUUID = UUID.Zero; |
426 | if (UUID.TryParse(capuuid, out capUUID)) | 425 | if (UUID.TryParse(capuuid, out capUUID)) |
427 | { | 426 | { |