diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneBase.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneBase.cs | 4 |
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 | ||