QTfrontend/netserver.cpp
changeset 326 c6718bfdd642
parent 319 7f3bd9e31f18
child 332 10080f681118
--- a/QTfrontend/netserver.cpp	Sun Jan 14 11:58:08 2007 +0000
+++ b/QTfrontend/netserver.cpp	Sun Jan 14 13:10:29 2007 +0000
@@ -38,7 +38,7 @@
 			  tr("Unable to start the server: %1.")
 			  .arg(IPCServer->errorString()));
   }
-  
+
   connect(IPCServer, SIGNAL(newConnection()), this, SLOT(NewConnection()));
 }
 
@@ -52,7 +52,7 @@
   QTcpSocket* client = IPCServer->nextPendingConnection();
   if(!client) return;
   connclients.push_back(new HWConnectedClient(this, client));
-  connect(connclients.back(), SIGNAL(HWClientDisconnected(HWConnectedClient*)), 
+  connect(connclients.back(), SIGNAL(HWClientDisconnected(HWConnectedClient*)),
 	  this, SLOT(ClientDisconnect(HWConnectedClient*)));
 }
 
@@ -73,7 +73,7 @@
   return ds_port;
 }
 
-bool HWNetServer::isCheefClient(HWConnectedClient* cl) const
+bool HWNetServer::isChiefClient(HWConnectedClient* cl) const
 {
   for(QList<HWConnectedClient*>::const_iterator it=connclients.begin(); it!=connclients.end(); ++it) {
     if((*it)->getClientNick()!="" && *it==cl)  return true;
@@ -196,7 +196,7 @@
     qDebug() << "send connected";
     RawSendNet(QString("CONNECTED"));
     m_hwserver->teamChanged();
-    if(m_hwserver->isCheefClient(this)) RawSendNet(QString("CONFIGASKED"));
+    if(m_hwserver->isChiefClient(this)) RawSendNet(QString("CONFIGASKED"));
     return;
   }
   if(client_nick=="") return;
@@ -224,7 +224,7 @@
     m_hwserver->teamChanged();
     return;
   }
-  
+
   m_hwserver->sendOthers(this, msg);
 }