aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PluginLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/PluginLoader.cs')
-rw-r--r--OpenSim/Framework/PluginLoader.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Framework/PluginLoader.cs b/OpenSim/Framework/PluginLoader.cs
index baf9c57..15e0b9f 100644
--- a/OpenSim/Framework/PluginLoader.cs
+++ b/OpenSim/Framework/PluginLoader.cs
@@ -182,7 +182,7 @@ namespace OpenSim.Framework
182 T plugin = (T)node.CreateInstance(); 182 T plugin = (T)node.CreateInstance();
183 loadedPlugins.Add(plugin); 183 loadedPlugins.Add(plugin);
184 } 184 }
185 185
186 // We do Initialise() in a second loop after CreateInstance 186 // We do Initialise() in a second loop after CreateInstance
187 // So that modules who need init before others can do it 187 // So that modules who need init before others can do it
188 // Example: Script Engine Component System needs to load its components before RegionLoader starts 188 // Example: Script Engine Component System needs to load its components before RegionLoader starts
@@ -349,7 +349,7 @@ namespace OpenSim.Framework
349 } 349 }
350 350
351 /// <summary> 351 /// <summary>
352 /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in 352 /// Filters out which plugin to load based on its the plugin name or names given. Plugin names are contained in
353 /// their addin.xml 353 /// their addin.xml
354 /// </summary> 354 /// </summary>
355 public class PluginProviderFilter : IPluginFilter 355 public class PluginProviderFilter : IPluginFilter
@@ -365,7 +365,7 @@ namespace OpenSim.Framework
365 public PluginProviderFilter(string p) 365 public PluginProviderFilter(string p)
366 { 366 {
367 m_filters = p.Split(','); 367 m_filters = p.Split(',');
368 368
369 for (int i = 0; i < m_filters.Length; i++) 369 for (int i = 0; i < m_filters.Length; i++)
370 { 370 {
371 m_filters[i] = m_filters[i].Trim(); 371 m_filters[i] = m_filters[i].Trim();
@@ -379,14 +379,14 @@ namespace OpenSim.Framework
379 /// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns> 379 /// <returns>true if the plugin's name matched one of the filters, false otherwise.</returns>
380 public bool Apply (PluginExtensionNode plugin) 380 public bool Apply (PluginExtensionNode plugin)
381 { 381 {
382 for (int i = 0; i < m_filters.Length; i++) 382 for (int i = 0; i < m_filters.Length; i++)
383 { 383 {
384 if (m_filters[i] == plugin.Provider) 384 if (m_filters[i] == plugin.Provider)
385 { 385 {
386 return true; 386 return true;
387 } 387 }
388 } 388 }
389 389
390 return false; 390 return false;
391 } 391 }
392 } 392 }