aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/ServerUtils.cs
diff options
context:
space:
mode:
authorBlueWall2012-10-19 07:38:36 -0400
committerBlueWall2012-10-19 07:38:36 -0400
commit99bb6c930479fedee4e55a662fa715702f6110b7 (patch)
treed532dc4d9cec78db47b15fb9ba301ca0d6ec1d47 /OpenSim/Server/Base/ServerUtils.cs
parentAdd logging to help track sequence of events (diff)
downloadopensim-SC_OLD-99bb6c930479fedee4e55a662fa715702f6110b7.zip
opensim-SC_OLD-99bb6c930479fedee4e55a662fa715702f6110b7.tar.gz
opensim-SC_OLD-99bb6c930479fedee4e55a662fa715702f6110b7.tar.bz2
opensim-SC_OLD-99bb6c930479fedee4e55a662fa715702f6110b7.tar.xz
Move PluginManager
Move PluginManager out to OpenSimFramework for general use
Diffstat (limited to 'OpenSim/Server/Base/ServerUtils.cs')
-rw-r--r--OpenSim/Server/Base/ServerUtils.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Server/Base/ServerUtils.cs b/OpenSim/Server/Base/ServerUtils.cs
index 8ecf3d3..31b0446 100644
--- a/OpenSim/Server/Base/ServerUtils.cs
+++ b/OpenSim/Server/Base/ServerUtils.cs
@@ -111,17 +111,18 @@ namespace OpenSim.Server.Base
111 case ExtensionChange.Add: 111 case ExtensionChange.Add:
112 if (a.AddinFile.Contains(Registry.DefaultAddinsFolder)) 112 if (a.AddinFile.Contains(Registry.DefaultAddinsFolder))
113 { 113 {
114 m_log.InfoFormat("[SERVER]: Adding {0}", a.Name); 114 m_log.InfoFormat("[SERVER]: Adding {0} from registry", a.Name);
115 connector.PluginPath = String.Format("{0}/{1}", Registry.DefaultAddinsFolder, a.Name.Replace(',', '.')); 115 connector.PluginPath = String.Format("{0}/{1}", Registry.DefaultAddinsFolder, a.Name.Replace(',', '.'));
116 } 116 }
117 else 117 else
118 { 118 {
119 m_log.InfoFormat("[SERVER]: Removing {0}", a.Name); 119 m_log.InfoFormat("[SERVER]: Adding {0} from ./bin", a.Name);
120 connector.PluginPath = a.AddinFile; 120 connector.PluginPath = a.AddinFile;
121 } 121 }
122 LoadPlugin(connector); 122 LoadPlugin(connector);
123 break; 123 break;
124 case ExtensionChange.Remove: 124 case ExtensionChange.Remove:
125 m_log.InfoFormat("[SERVER]: Removing {0}", a.Name);
125 UnloadPlugin(connector); 126 UnloadPlugin(connector);
126 break; 127 break;
127 } 128 }