# HG changeset patch
# User unc0rr
# Date 1385830434 -14400
# Node ID 20dca33778874464d94e2e0323c0db5025874241
# Parent  6a3640c4f4b73ef2a5073a636fda507efda013d0
Fix erroneous message in console debug

diff -r 6a3640c4f4b7 -r 20dca3377887 QTfrontend/net/newnetclient.cpp
--- 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")