remove hardcoded internetgame settings

This commit is contained in:
doitux
2009-04-10 23:18:38 +00:00
parent 72108d7ec3
commit 13eea26cdc
7 changed files with 33 additions and 11 deletions
+4 -4
View File
@@ -168,7 +168,7 @@ void Session::startInternetClient()
myConfig->readConfigInt("IRCServerPort"),
myConfig->readConfigInt("IRCServerUseIpv6") == 1,
myIrcNick,
/*myConfig->readConfigString("IRCChannel")*/ "#pokerth-lobby-07beta",//WARNING this is just for 0.7 beta to connect to testing chat //////////////
myConfig->readConfigString("IRCChannel"), /*"#pokerth-lobby-07beta",*///WARNING this is just for 0.7 beta to connect to testing chat //////////////
myConfig->readConfigString("IRCChannelPassword"));
myClientIrcThread->Run();
}
@@ -177,10 +177,10 @@ void Session::startInternetClient()
bool useAvatarServer = myConfig->readConfigInt("UseAvatarServer") != 0;
myNetClient->Init(
myConfig->readConfigString("InternetServerAddress"), "pokerth.net/serverlist07.xml.z", 1,
myConfig->readConfigString("InternetServerAddress"), /*"pokerth.net/serverlist07.xml.z", 1,*/
//WARNING this is just for 0.7 beta to connect to testing server //////////////
// myConfig->readConfigString("InternetServerListAddress"),
// myConfig->readConfigInt("InternetServerConfigMode") == 0,
myConfig->readConfigString("InternetServerListAddress"),
myConfig->readConfigInt("InternetServerConfigMode") == 0,
///////////////////////////////////////////////////////////////////////////////
myConfig->readConfigInt("InternetServerPort"),
myConfig->readConfigInt("InternetServerUseIpv6") == 1,