Thank you kindly, Godfrey, for a patch that:
The new IRCd module causes an error when multiple instances of OpenSim are run on the same machine; since the port number (6666) is hardcoded, the second and subsequent instances crash upon startup because the port is already in use. Attached is a patch which adds a Port specifier to the [IRCd] section of the config file, which defaults to 6666 if not present.0.6.6-post-fixes
parent
c7c4bc8cd5
commit
7545f12c5f
|
@ -49,8 +49,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView
|
||||||
if (null != source.Configs["IRCd"] &&
|
if (null != source.Configs["IRCd"] &&
|
||||||
source.Configs["IRCd"].GetBoolean("Enabled",false))
|
source.Configs["IRCd"].GetBoolean("Enabled",false))
|
||||||
{
|
{
|
||||||
|
int portNo = source.Configs["IRCd"].GetInt("Port",6666);
|
||||||
m_scene = scene;
|
m_scene = scene;
|
||||||
m_server = new IRCServer(IPAddress.Parse("0.0.0.0"), 6666, scene);
|
m_server = new IRCServer(IPAddress.Parse("0.0.0.0"), portNo, scene);
|
||||||
m_server.OnNewIRCClient += m_server_OnNewIRCClient;
|
m_server.OnNewIRCClient += m_server_OnNewIRCClient;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue