QTfrontend/netserver.cpp
changeset 465 07eca0a2546c
parent 461 105af110b0e6
child 468 8403d6884707
equal deleted inserted replaced
464:7f48321fc38a 465:07eca0a2546c
   111     }
   111     }
   112   }
   112   }
   113   return false;
   113   return false;
   114 }
   114 }
   115 
   115 
       
   116 void HWNetServer::sendNicks(HWConnectedClient* cl) const
       
   117 {
       
   118   for(QList<HWConnectedClient*>::const_iterator it=connclients.begin(); it!=connclients.end(); ++it) {
       
   119       qDebug() << "sendNicks: " << (*it)->client_nick;
       
   120       cl->RawSendNet(QString("JOINED")+delimeter+(*it)->client_nick);
       
   121   }
       
   122 }
       
   123 
   116 QList<QStringList> HWNetServer::getTeamsConfig() const
   124 QList<QStringList> HWNetServer::getTeamsConfig() const
   117 {
   125 {
   118   QList<QStringList> lst;
   126   QList<QStringList> lst;
   119   for(QList<HWConnectedClient*>::const_iterator it=connclients.begin(); it!=connclients.end(); ++it) {
   127   for(QList<HWConnectedClient*>::const_iterator it=connclients.begin(); it!=connclients.end(); ++it) {
   120     try {
   128     try {