QTfrontend/hwform.cpp
changeset 1310 4616e15d566f
parent 1268 34c3795ecb63
child 1311 49beb1221c0b
--- a/QTfrontend/hwform.cpp	Mon Oct 06 18:40:47 2008 +0000
+++ b/QTfrontend/hwform.cpp	Mon Oct 06 19:01:59 2008 +0000
@@ -41,7 +41,6 @@
 #include "gamecfgwidget.h"
 #include "netserverslist.h"
 #include "netudpserver.h"
-#include "netwwwserver.h"
 #include "chatwidget.h"
 #include "playrecordpage.h"
 #include "input_ip.h"
@@ -480,10 +479,7 @@
 
 	_NetConnect("localhost", pnetserver->getRunningPort(), ui.pageOptions->editNetNick->text());
 
-	if (ui.pageNet->rbLocalGame->isChecked())
-		pRegisterServer = new HWNetUdpServer(0, ui.pageNetServer->leServerDescr->text(), ui.pageNetServer->sbPort->value());
-	else
-		pRegisterServer = new HWNetWwwServer(0, ui.pageNetServer->leServerDescr->text(), ui.pageNetServer->sbPort->value());
+	pRegisterServer = new HWNetUdpServer(0, ui.pageNetServer->leServerDescr->text(), ui.pageNetServer->sbPort->value());
 }
 
 void HWForm::NetDisconnect()