QTfrontend/newnetclient.cpp
changeset 1856 e71dbf958c87
parent 1844 81abed9d4c11
child 1860 ce140b2b928a
--- a/QTfrontend/newnetclient.cpp	Mon Mar 02 21:13:34 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Mon Mar 02 21:20:45 2009 +0000
@@ -231,6 +231,7 @@
 		RawSendNet(QString("PROTO%1%2").arg(delimeter).arg(*cProtoVer));
 		netClientState = 1;
 		m_game_connected = true;
+		emit adminAccess(false);
 		return;
 	}
 
@@ -565,6 +566,12 @@
 		return;
 	}
 
+
+	if (lst[0] == "ADMIN_ACCESS") {
+		emit adminAccess(true);
+		return;
+	}
+
 	qWarning() << "Net: Unknown message:" << lst;
 }