diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs index 29bfe22..51a5036 100644 --- a/OpenSim/Framework/Communications/UserManagerBase.cs +++ b/OpenSim/Framework/Communications/UserManagerBase.cs | |||
@@ -53,7 +53,7 @@ namespace OpenSim.Framework.Communications | |||
53 | /// Adds a new user server plugin - user servers will be requested in the order they were loaded. | 53 | /// Adds a new user server plugin - user servers will be requested in the order they were loaded. |
54 | /// </summary> | 54 | /// </summary> |
55 | /// <param name="FileName">The filename to the user server plugin DLL</param> | 55 | /// <param name="FileName">The filename to the user server plugin DLL</param> |
56 | public void AddPlugin(string FileName) | 56 | public void AddPlugin(string FileName, string connect) |
57 | { | 57 | { |
58 | if (!String.IsNullOrEmpty(FileName)) | 58 | if (!String.IsNullOrEmpty(FileName)) |
59 | { | 59 | { |
@@ -71,16 +71,16 @@ namespace OpenSim.Framework.Communications | |||
71 | { | 71 | { |
72 | IUserData plug = | 72 | IUserData plug = |
73 | (IUserData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); | 73 | (IUserData) Activator.CreateInstance(pluginAssembly.GetType(pluginType.ToString())); |
74 | AddPlugin(plug); | 74 | AddPlugin(plug, connect); |
75 | } | 75 | } |
76 | } | 76 | } |
77 | } | 77 | } |
78 | } | 78 | } |
79 | } | 79 | } |
80 | 80 | ||
81 | public void AddPlugin(IUserData plug) | 81 | public void AddPlugin(IUserData plug, string connect) |
82 | { | 82 | { |
83 | plug.Initialise(); | 83 | plug.Initialise(connect); |
84 | _plugins.Add(plug.Name, plug); | 84 | _plugins.Add(plug.Name, plug); |
85 | m_log.Info("[USERSTORAGE]: Added IUserData Interface"); | 85 | m_log.Info("[USERSTORAGE]: Added IUserData Interface"); |
86 | } | 86 | } |