From 388c053dcb8de3d9b89c99989af1990296cf2001 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 1 Nov 2008 18:18:19 +0000 Subject: Make the IM and friends modules optional. Clean up some code that dealt with the old Grid Instant Message over OGS1. Refactor the EventManager to be independent of the rigid module structure design imposed by the current implementation. Message routing is now done in the destination module rather than in the event manager. This way, more or less granular solutions are possible without core changes. --- .../Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'OpenSim/Region/Environment/Modules/InterGrid') diff --git a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs index 85e60d7..ba40571 100644 --- a/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs +++ b/OpenSim/Region/Environment/Modules/InterGrid/OpenGridProtocolModule.cs @@ -195,12 +195,6 @@ namespace OpenSim.Region.Environment.Modules.InterGrid } } } - // Of interest to this module potentially - //scene.EventManager.OnNewClient += OnNewClient; - //scene.EventManager.OnGridInstantMessageToFriendsModule += OnGridInstantMessage; - // scene.EventManager.OnAvatarEnteringNewParcel += AvatarEnteringParcel; - //scene.EventManager.OnMakeChildAgent += MakeChildAgent; - //scene.EventManager.OnClientClosed += ClientLoggedOut; } public void PostInitialise() -- cgit v1.1