From e4d26d7bfa4b4d4e775531a7dd400f41fc61f45f Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Fri, 19 Jun 2009 20:46:17 +0000
Subject: When a shared module hooks OnClientClosed, it has no way of finding
out which client connection has closed. So, in multi-region sims, things can
get messy fast. This introduces a second parameters, which is a Scene object
ref. Minor adjustments to custom modules may be required due to this change.
---
OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs')
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index 6fe0b57..16c02a3 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -287,7 +287,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
/// Event handler
///
/// AgentID that logged out
- private void ClientLoggedOut(UUID AgentId)
+ private void ClientLoggedOut(UUID AgentId, Scene scene)
{
List presences = m_scene.GetAvatars();
int rootcount = 0;
--
cgit v1.1