From 2d2098f5dae8213a28cf6aa9970c476c952d76d2 Mon Sep 17 00:00:00 2001 From: Melanie Date: Thu, 25 Nov 2010 04:16:34 +0100 Subject: Export the module interface for restart --- OpenSim/Region/CoreModules/World/Region/RestartModule.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/World/Region/RestartModule.cs b/OpenSim/Region/CoreModules/World/Region/RestartModule.cs index 5a5239a..c65aa6a 100644 --- a/OpenSim/Region/CoreModules/World/Region/RestartModule.cs +++ b/OpenSim/Region/CoreModules/World/Region/RestartModule.cs @@ -64,7 +64,7 @@ namespace OpenSim.Region.CoreModules.World.Region public void AddRegion(Scene scene) { m_Scene = scene; - m_DialogModule = m_Scene.RequestModuleInterface(); + scene.RegisterModuleInterface(this); MainConsole.Instance.Commands.AddCommand("RestartModule", false, "region restart bluebox", "region restart bluebox