aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application/OpenSimBase.cs
diff options
context:
space:
mode:
authorMW2009-02-26 22:51:52 +0000
committerMW2009-02-26 22:51:52 +0000
commit756c5170694fa3dc4146c2b4034f52bd5c97ec86 (patch)
tree2390934b9e8544e332d55ff7a9a513424612914a /OpenSim/Region/Application/OpenSimBase.cs
parentThis adds a new osGetAgentIP function with threat level set to High. It (diff)
downloadopensim-SC_OLD-756c5170694fa3dc4146c2b4034f52bd5c97ec86.zip
opensim-SC_OLD-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.gz
opensim-SC_OLD-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.bz2
opensim-SC_OLD-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.xz
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Application/OpenSimBase.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 3f7c757..5927c5c 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -212,6 +212,12 @@ namespace OpenSim
212 m_commsManager.GridService.RegionLoginsEnabled = true; 212 m_commsManager.GridService.RegionLoginsEnabled = true;
213 } 213 }
214 214
215 AddPluginCommands();
216
217 }
218
219 protected virtual void AddPluginCommands()
220 {
215 // If console exists add plugin commands. 221 // If console exists add plugin commands.
216 if (m_console != null) 222 if (m_console != null)
217 { 223 {
@@ -251,7 +257,6 @@ namespace OpenSim
251 } 257 }
252 } 258 }
253 } 259 }
254
255 } 260 }
256 261
257 private void HandleCommanderCommand(string module, string[] cmd) 262 private void HandleCommanderCommand(string module, string[] cmd)