aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World
diff options
context:
space:
mode:
authorMelanie2010-11-25 04:16:34 +0100
committerMelanie2010-11-25 04:16:34 +0100
commitc14592d4baf2308dee90abd93cb9029fd69e5d85 (patch)
treee0707167538f2a23c70063b210157ae4d3f5bef6 /OpenSim/Region/CoreModules/World
parentFix a bug caused by leftover code (diff)
downloadopensim-SC-c14592d4baf2308dee90abd93cb9029fd69e5d85.zip
opensim-SC-c14592d4baf2308dee90abd93cb9029fd69e5d85.tar.gz
opensim-SC-c14592d4baf2308dee90abd93cb9029fd69e5d85.tar.bz2
opensim-SC-c14592d4baf2308dee90abd93cb9029fd69e5d85.tar.xz
Export the module interface for restart
Diffstat (limited to 'OpenSim/Region/CoreModules/World')
-rw-r--r--OpenSim/Region/CoreModules/World/Region/RestartModule.cs3
1 files changed, 2 insertions, 1 deletions
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
64 public void AddRegion(Scene scene) 64 public void AddRegion(Scene scene)
65 { 65 {
66 m_Scene = scene; 66 m_Scene = scene;
67 m_DialogModule = m_Scene.RequestModuleInterface<IDialogModule>(); 67 scene.RegisterModuleInterface<IRestartModule>(this);
68 MainConsole.Instance.Commands.AddCommand("RestartModule", 68 MainConsole.Instance.Commands.AddCommand("RestartModule",
69 false, "region restart bluebox", 69 false, "region restart bluebox",
70 "region restart bluebox <message> <time> ...", 70 "region restart bluebox <message> <time> ...",
@@ -81,6 +81,7 @@ namespace OpenSim.Region.CoreModules.World.Region
81 81
82 public void RegionLoaded(Scene scene) 82 public void RegionLoaded(Scene scene)
83 { 83 {
84 m_DialogModule = m_Scene.RequestModuleInterface<IDialogModule>();
84 } 85 }
85 86
86 public void RemoveRegion(Scene scene) 87 public void RemoveRegion(Scene scene)