QTfrontend/newnetclient.cpp
changeset 1860 ce140b2b928a
parent 1856 e71dbf958c87
child 1866 36aa0ca6e8af
--- a/QTfrontend/newnetclient.cpp	Wed Mar 04 13:55:53 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Wed Mar 04 16:35:36 2009 +0000
@@ -357,6 +357,7 @@
 			{
 				netClientState = 3;
 				emit EnteredGame();
+				emit roomMaster(isChief);
 				if (isChief)
 					ConfigAsked();
 			}
@@ -734,6 +735,11 @@
 		return QString("%1: %2").arg(nick).arg(msg);
 }
 
+void HWNewNet::banPlayer(const QString & nick)
+{
+	RawSendNet(QString("BAN%1%2").arg(delimeter).arg(nick));
+}
+
 void HWNewNet::kickPlayer(const QString & nick)
 {
 	RawSendNet(QString("KICK%1%2").arg(delimeter).arg(nick));