mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Fixed a bug that was causing exceptions to the thrown in ROBUST MainServer.
This commit is contained in:
@@ -61,6 +61,7 @@ namespace OpenSim.Server
|
||||
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
||||
string[] conns = connList.Split(new char[] {',', ' '});
|
||||
|
||||
int i = 0;
|
||||
foreach (string c in conns)
|
||||
{
|
||||
if (c == String.Empty)
|
||||
@@ -100,11 +101,14 @@ namespace OpenSim.Server
|
||||
IServiceConnector connector = null;
|
||||
try
|
||||
{
|
||||
Object[] modargs = new Object[] { m_Server.Config, server,
|
||||
Object[] modargs = null;
|
||||
if (configName != string.Empty)
|
||||
{
|
||||
modargs = new Object[] { m_Server.Config, server,
|
||||
configName };
|
||||
connector = ServerUtils.LoadPlugin<IServiceConnector>(conn,
|
||||
modargs);
|
||||
|
||||
connector = ServerUtils.LoadPlugin<IServiceConnector>(conn,
|
||||
modargs);
|
||||
}
|
||||
if (connector == null)
|
||||
{
|
||||
modargs = new Object[] { m_Server.Config, server };
|
||||
|
||||
Reference in New Issue
Block a user