QTfrontend/net/newnetclient.cpp
changeset 9730 20dca3377887
parent 9702 27006953d901
child 9906 93c16a4b0c6a
--- a/QTfrontend/net/newnetclient.cpp	Sat Nov 30 17:43:58 2013 +0400
+++ b/QTfrontend/net/newnetclient.cpp	Sat Nov 30 20:53:54 2013 +0400
@@ -627,7 +627,7 @@
 
     if(lst[0] == "JOINING")
     {
-        if(lst.size() < 2)
+        if(lst.size() != 2)
         {
             qWarning("Net: Bad JOINING message");
             return;
@@ -635,6 +635,7 @@
 
         myroom = lst[1];
         emit roomNameUpdated(myroom);
+        return;
     }
 
     if(netClientState == InLobby && lst[0] == "JOINED")