diff options
Diffstat (limited to 'OpenSim/Grid/GridServer/GridManager.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/GridManager.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index d0eec32..2933f04 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Grid.GridServer | |||
58 | /// Adds a new grid server plugin - grid servers will be requested in the order they were loaded. | 58 | /// Adds a new grid server plugin - grid servers will be requested in the order they were loaded. |
59 | /// </summary> | 59 | /// </summary> |
60 | /// <param name="FileName">The filename to the grid server plugin DLL</param> | 60 | /// <param name="FileName">The filename to the grid server plugin DLL</param> |
61 | public void AddPlugin(string FileName) | 61 | public void AddPlugin(string FileName, string Connect) |
62 | { | 62 | { |
63 | m_log.Info("[DATA]: Attempting to load " + FileName); | 63 | m_log.Info("[DATA]: Attempting to load " + FileName); |
64 | Assembly pluginAssembly = Assembly.LoadFrom(FileName); | 64 | Assembly pluginAssembly = Assembly.LoadFrom(FileName); |
@@ -75,7 +75,7 @@ namespace OpenSim.Grid.GridServer | |||
75 | { | 75 | { |
76 | IGridData plug = | 76 | IGridData plug = |
77 | (IGridData)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 77 | (IGridData)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
78 | plug.Initialise(); | 78 | plug.Initialise(Connect); |
79 | _plugins.Add(plug.getName(), plug); | 79 | _plugins.Add(plug.getName(), plug); |
80 | m_log.Info("[DATA]: Added IGridData Interface"); | 80 | m_log.Info("[DATA]: Added IGridData Interface"); |
81 | } | 81 | } |
@@ -87,7 +87,7 @@ namespace OpenSim.Grid.GridServer | |||
87 | { | 87 | { |
88 | ILogData plug = | 88 | ILogData plug = |
89 | (ILogData)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 89 | (ILogData)Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
90 | plug.Initialise(); | 90 | plug.Initialise(Connect); |
91 | _logplugins.Add(plug.getName(), plug); | 91 | _logplugins.Add(plug.getName(), plug); |
92 | m_log.Info("[DATA]: Added ILogData Interface"); | 92 | m_log.Info("[DATA]: Added ILogData Interface"); |
93 | } | 93 | } |