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
Charles Krinke 2009-06-29 14:01:08 +00:00
parent c7c4bc8cd5
commit 7545f12c5f
1 changed files with 2 additions and 1 deletions

View File

@ -49,8 +49,9 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView
if (null != source.Configs["IRCd"] &&
source.Configs["IRCd"].GetBoolean("Enabled",false))
{
int portNo = source.Configs["IRCd"].GetInt("Port",6666);
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;
}
}