QTfrontend/newnetclient.cpp
changeset 1879 bb114339eb4e
parent 1878 b3b277d2b891
child 1898 f0ab0c77946d
--- a/QTfrontend/newnetclient.cpp	Mon Mar 09 20:23:04 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Mon Mar 09 20:47:17 2009 +0000
@@ -342,6 +342,13 @@
 		return;
 	}
 
+	if(lst[0] == "KICKED") {
+		netClientState = 2;
+		emit showMessage(HWNewNet::tr("You got kicked"));
+		emit LeftRoom();
+		return;
+	}
+
 	if(lst[0] == "JOINED") {
 		if(lst.size() < 2)
 		{