Don't ask for full rooms list on part/kick
authorunc0rr
Wed, 10 Oct 2012 00:18:35 +0400
changeset 7736 1cf84a84ef43
parent 7735 4c7e282b5732
child 7737 ff63da8a3202
Don't ask for full rooms list on part/kick
QTfrontend/net/newnetclient.cpp
--- a/QTfrontend/net/newnetclient.cpp	Tue Oct 09 21:08:37 2012 +0400
+++ b/QTfrontend/net/newnetclient.cpp	Wed Oct 10 00:18:35 2012 +0400
@@ -466,7 +466,6 @@
             {
                 netClientState = InLobby;
                 m_playersModel->resetRoomFlags();
-                RawSendNet(QString("LIST"));
                 emit connected();
             }
 
@@ -647,7 +646,6 @@
         if(lst[0] == "ROOMABANDONED")
         {
             netClientState = InLobby;
-            askRoomsList();
             m_playersModel->resetRoomFlags();
             emit LeftRoom(tr("Room destroyed"));
             return;
@@ -913,7 +911,6 @@
     netClientState = InLobby;
     m_playersModel->resetRoomFlags();
     RawSendNet(QString("PART"));
-    askRoomsList();
 }
 
 bool HWNewNet::isInRoom()