diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs index cb22f0b..97227b3 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGWorldMapModule.cs | |||
@@ -82,7 +82,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
82 | 82 | ||
83 | base.AddRegion(scene); | 83 | base.AddRegion(scene); |
84 | 84 | ||
85 | scene.EventManager.OnClientClosed += new EventManager.ClientClosed(EventManager_OnClientClosed); | 85 | scene.EventManager.OnClientClosed += EventManager_OnClientClosed; |
86 | } | 86 | } |
87 | 87 | ||
88 | public override void RegionLoaded(Scene scene) | 88 | public override void RegionLoaded(Scene scene) |
@@ -99,6 +99,15 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
99 | m_UserManagement = m_scene.RequestModuleInterface<IUserManagement>(); | 99 | m_UserManagement = m_scene.RequestModuleInterface<IUserManagement>(); |
100 | 100 | ||
101 | } | 101 | } |
102 | |||
103 | public override void RemoveRegion(Scene scene) | ||
104 | { | ||
105 | if (!m_Enabled) | ||
106 | return; | ||
107 | |||
108 | scene.EventManager.OnClientClosed -= EventManager_OnClientClosed; | ||
109 | } | ||
110 | |||
102 | public override string Name | 111 | public override string Name |
103 | { | 112 | { |
104 | get { return "HGWorldMap"; } | 113 | get { return "HGWorldMap"; } |