aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoropensim mirror account2010-11-24 21:10:03 -0800
committeropensim mirror account2010-11-24 21:10:03 -0800
commit06d8f674481521665d30dd0c1c77f22865f4d95b (patch)
tree8672d5707fee863435d658e050848818a1863a1c
parentMerge branch 'master' of /var/git/opensim/ (diff)
parentExport the module interface for restart (diff)
downloadopensim-SC_OLD-06d8f674481521665d30dd0c1c77f22865f4d95b.zip
opensim-SC_OLD-06d8f674481521665d30dd0c1c77f22865f4d95b.tar.gz
opensim-SC_OLD-06d8f674481521665d30dd0c1c77f22865f4d95b.tar.bz2
opensim-SC_OLD-06d8f674481521665d30dd0c1c77f22865f4d95b.tar.xz
Merge branch 'master' of /var/git/opensim/
-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)