aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/PluginLoader.cs
diff options
context:
space:
mode:
authorMike Mazur2008-07-23 05:53:54 +0000
committerMike Mazur2008-07-23 05:53:54 +0000
commit6256078876d343a892d72df47ff6ce7d9e11f096 (patch)
treec34cbb428bd6c97614b9c30dce78a3ae1d927819 /OpenSim/Framework/PluginLoader.cs
parentRemove duplicate definitions in addin.xml files. How'd that happen anyway? (diff)
downloadopensim-SC_OLD-6256078876d343a892d72df47ff6ce7d9e11f096.zip
opensim-SC_OLD-6256078876d343a892d72df47ff6ce7d9e11f096.tar.gz
opensim-SC_OLD-6256078876d343a892d72df47ff6ce7d9e11f096.tar.bz2
opensim-SC_OLD-6256078876d343a892d72df47ff6ce7d9e11f096.tar.xz
Thanks, sempuki, for a patch that adds .addin.xml for MSSQL and SQLite users.
Diffstat (limited to 'OpenSim/Framework/PluginLoader.cs')
-rw-r--r--OpenSim/Framework/PluginLoader.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/PluginLoader.cs b/OpenSim/Framework/PluginLoader.cs
index 0d21093..c4602a8 100644
--- a/OpenSim/Framework/PluginLoader.cs
+++ b/OpenSim/Framework/PluginLoader.cs
@@ -284,6 +284,11 @@ namespace OpenSim.Framework
284 284
285 public bool Apply (ExtensionNode plugin) 285 public bool Apply (ExtensionNode plugin)
286 { 286 {
287 System.Console.WriteLine ("[WTF]: " + plugin.Path);
288
289 if (plugin.HasId == false)
290 return false;
291
287 return (plugin.Id == id); 292 return (plugin.Id == id);
288 } 293 }
289 } 294 }