Config option completely disables irc.
This commit is contained in:
@@ -131,6 +131,8 @@ void Session::startInternetClient()
|
||||
}
|
||||
myGameType = GAME_TYPE_INTERNET;
|
||||
|
||||
if (myConfig->readConfigInt("UseIRCLobbyChat"))
|
||||
{
|
||||
myIrcThread = new IrcThread(*myGui);
|
||||
myIrcThread->Init(
|
||||
myConfig->readConfigString("IRCServerAddress"),
|
||||
@@ -139,6 +141,7 @@ void Session::startInternetClient()
|
||||
myConfig->readConfigString("MyName"),
|
||||
myConfig->readConfigString("IRCChannel"));
|
||||
myIrcThread->Run();
|
||||
}
|
||||
|
||||
myNetClient = new ClientThread(*myGui, *myAvatarManager);
|
||||
myNetClient->Init(
|
||||
|
||||
Reference in New Issue
Block a user