aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneBase.cs
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/Scenes/SceneBase.cs
parent* refactor: Split out module Command class into a separate file (diff)
downloadopensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.zip
opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.gz
opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.bz2
opensim-SC_OLD-9a666bda021503591e390facddda617f8b7ead3c.tar.xz
* Use the commander name to register module commanders instead of providing the information twice
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneBase.cs b/OpenSim/Region/Environment/Scenes/SceneBase.cs
index 4d6a39a..5e7eae5 100644
--- a/OpenSim/Region/Environment/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneBase.cs
@@ -278,11 +278,11 @@ namespace OpenSim.Region.Environment.Scenes
278 } 278 }
279 } 279 }
280 280
281 public void RegisterModuleCommander(string name, ICommander commander) 281 public void RegisterModuleCommander(ICommander commander)
282 { 282 {
283 lock (m_moduleCommanders) 283 lock (m_moduleCommanders)
284 { 284 {
285 m_moduleCommanders.Add(name, commander); 285 m_moduleCommanders.Add(commander.Name, commander);
286 } 286 }
287 } 287 }
288 288