QTfrontend/net/newnetclient.cpp
changeset 9730 20dca3377887
parent 9702 27006953d901
child 9906 93c16a4b0c6a
equal deleted inserted replaced
9729:6a3640c4f4b7 9730:20dca3377887
   625         return;
   625         return;
   626     }
   626     }
   627 
   627 
   628     if(lst[0] == "JOINING")
   628     if(lst[0] == "JOINING")
   629     {
   629     {
   630         if(lst.size() < 2)
   630         if(lst.size() != 2)
   631         {
   631         {
   632             qWarning("Net: Bad JOINING message");
   632             qWarning("Net: Bad JOINING message");
   633             return;
   633             return;
   634         }
   634         }
   635 
   635 
   636         myroom = lst[1];
   636         myroom = lst[1];
   637         emit roomNameUpdated(myroom);
   637         emit roomNameUpdated(myroom);
       
   638         return;
   638     }
   639     }
   639 
   640 
   640     if(netClientState == InLobby && lst[0] == "JOINED")
   641     if(netClientState == InLobby && lst[0] == "JOINED")
   641     {
   642     {
   642         if(lst.size() < 2 || lst[1] != mynick)
   643         if(lst.size() < 2 || lst[1] != mynick)