Fixed a bug that was causing exceptions to the thrown in ROBUST MainServer.
parent
a60ed0562c
commit
f4e8ac3556
|
@ -61,6 +61,7 @@ namespace OpenSim.Server
|
||||||
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
string connList = serverConfig.GetString("ServiceConnectors", String.Empty);
|
||||||
string[] conns = connList.Split(new char[] {',', ' '});
|
string[] conns = connList.Split(new char[] {',', ' '});
|
||||||
|
|
||||||
|
int i = 0;
|
||||||
foreach (string c in conns)
|
foreach (string c in conns)
|
||||||
{
|
{
|
||||||
if (c == String.Empty)
|
if (c == String.Empty)
|
||||||
|
@ -100,11 +101,14 @@ namespace OpenSim.Server
|
||||||
IServiceConnector connector = null;
|
IServiceConnector connector = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Object[] modargs = new Object[] { m_Server.Config, server,
|
Object[] modargs = null;
|
||||||
|
if (configName != string.Empty)
|
||||||
|
{
|
||||||
|
modargs = new Object[] { m_Server.Config, server,
|
||||||
configName };
|
configName };
|
||||||
connector = ServerUtils.LoadPlugin<IServiceConnector>(conn,
|
connector = ServerUtils.LoadPlugin<IServiceConnector>(conn,
|
||||||
modargs);
|
modargs);
|
||||||
|
}
|
||||||
if (connector == null)
|
if (connector == null)
|
||||||
{
|
{
|
||||||
modargs = new Object[] { m_Server.Config, server };
|
modargs = new Object[] { m_Server.Config, server };
|
||||||
|
|
Loading…
Reference in New Issue