QTfrontend/netserver.cpp
changeset 465 07eca0a2546c
parent 461 105af110b0e6
child 468 8403d6884707
--- a/QTfrontend/netserver.cpp	Tue Feb 20 19:00:46 2007 +0000
+++ b/QTfrontend/netserver.cpp	Tue Feb 20 19:50:38 2007 +0000
@@ -113,6 +113,14 @@
   return false;
 }
 
+void HWNetServer::sendNicks(HWConnectedClient* cl) const
+{
+  for(QList<HWConnectedClient*>::const_iterator it=connclients.begin(); it!=connclients.end(); ++it) {
+      qDebug() << "sendNicks: " << (*it)->client_nick;
+      cl->RawSendNet(QString("JOINED")+delimeter+(*it)->client_nick);
+  }
+}
+
 QList<QStringList> HWNetServer::getTeamsConfig() const
 {
   QList<QStringList> lst;