aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/World
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-02-05 19:54:22 +0000
committerJustin Clarke Casey2009-02-05 19:54:22 +0000
commit9a666bda021503591e390facddda617f8b7ead3c (patch)
tree34cf79eb6f7a71003af347a4cbde17f8bad3a118 /OpenSim/Region/Environment/Modules/World
parent* refactor: Split out module Command class into a separate file (diff)
downloadopensim-SC-9a666bda021503591e390facddda617f8b7ead3c.zip
opensim-SC-9a666bda021503591e390facddda617f8b7ead3c.tar.gz
opensim-SC-9a666bda021503591e390facddda617f8b7ead3c.tar.bz2
opensim-SC-9a666bda021503591e390facddda617f8b7ead3c.tar.xz
* Use the commander name to register module commanders instead of providing the information twice
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs2
-rw-r--r--OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs2
3 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
index f765cfe..0fac278 100644
--- a/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Permissions/PermissionsModule.cs
@@ -237,7 +237,7 @@ namespace OpenSim.Region.Environment.Modules.World.Permissions
237 debugCommand.AddArgument("enable_debug_perms", "true to enable debugging to console all perms", "Boolean"); 237 debugCommand.AddArgument("enable_debug_perms", "true to enable debugging to console all perms", "Boolean");
238 238
239 m_commander.RegisterCommand("debug", debugCommand); 239 m_commander.RegisterCommand("debug", debugCommand);
240 m_scene.RegisterModuleCommander("CommanderPermissions", m_commander); 240 m_scene.RegisterModuleCommander(m_commander);
241 241
242 m_scene.EventManager.OnPluginConsole += new EventManager.OnPluginConsoleDelegate(EventManager_OnPluginConsole); 242 m_scene.EventManager.OnPluginConsole += new EventManager.OnPluginConsoleDelegate(EventManager_OnPluginConsole);
243 } 243 }
diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs
index c1af947..885dbae 100644
--- a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs
@@ -47,7 +47,7 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser
47 47
48 public void Initialise(Scene scene, IConfigSource source) 48 public void Initialise(Scene scene, IConfigSource source)
49 { 49 {
50 scene.RegisterModuleCommander("Export", m_commander); 50 scene.RegisterModuleCommander(m_commander);
51 scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole; 51 scene.EventManager.OnPluginConsole += EventManager_OnPluginConsole;
52 scene.RegisterModuleInterface<IRegionSerialiserModule>(this); 52 scene.RegisterModuleInterface<IRegionSerialiserModule>(this);
53 53
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs
index d56bc8e..cc9b4d2 100644
--- a/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs
+++ b/OpenSim/Region/Environment/Modules/World/Terrain/TerrainModule.cs
@@ -993,7 +993,7 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain
993 m_commander.RegisterCommand("flip", flipCommand); 993 m_commander.RegisterCommand("flip", flipCommand);
994 994
995 // Add this to our scene so scripts can call these functions 995 // Add this to our scene so scripts can call these functions
996 m_scene.RegisterModuleCommander("Terrain", m_commander); 996 m_scene.RegisterModuleCommander(m_commander);
997 } 997 }
998 998
999 #endregion 999 #endregion