QTfrontend/netconnectedclient.cpp
changeset 573 e0cf483e68d6
parent 571 a6cea9fbbc59
child 574 1cafd9eb1a21
--- a/QTfrontend/netconnectedclient.cpp	Thu Aug 16 15:16:56 2007 +0000
+++ b/QTfrontend/netconnectedclient.cpp	Sat Aug 18 12:05:29 2007 +0000
@@ -97,7 +97,11 @@
     return;
   }
 
-  if(client_nick=="") return;
+  if(client_nick=="")
+  {
+  	qWarning(QString("Net: Message from unnamed client: '%1'").arg(msg).toAscii().data());
+  	return;
+  }
 
   if (lst[0]=="START:") {
     readyToStart=true;
@@ -126,6 +130,7 @@
     // create CONFIG_PARAM to save HHNUM at server from lst
     lst=QStringList("CONFIG_PARAM") << confstr << lst[3];
     m_hwserver->sendOthers(this, lst.join(QString(delimeter)));
+    return;
   }
 
   if(lst[0]=="CONFIG_PARAM") {
@@ -133,7 +138,7 @@
       qWarning((QString("Net: Bad 'CONFIG_PARAM' message: ")+msg).toAscii().data());
       return;
     }
-    
+
     if(!m_hwserver->isChiefClient(this))
     {
       return; // permission denied