QTfrontend/game.cpp
changeset 2403 6c5d504af2ba
parent 2392 a55dbef5cf31
child 2405 3b8607ac32c6
--- a/QTfrontend/game.cpp	Fri Oct 02 18:56:54 2009 +0000
+++ b/QTfrontend/game.cpp	Sat Oct 03 09:35:14 2009 +0000
@@ -224,9 +224,16 @@
 			int size = msg.size();
 			QString msgbody = QString::fromUtf8(msg.mid(2).left(size - 4));
 			emit SendChat(msgbody);
-			QByteArray buf;
-			HWProto::addStringToBuffer(buf, QString("s%1: %2\x20\x20").arg(config->netNick()).arg(msgbody));
-			demo.append(buf);
+			// FIXME: /me command doesn't work here
+			//QByteArray buf;
+			//HWProto::addStringToBuffer(buf, QString("s\x01%1: %2\x20\x20").arg(config->netNick()).arg(msgbody));
+			//demo.append(buf);
+			break;
+		}
+		case 'b': {
+			int size = msg.size();
+			QString msgbody = QString::fromUtf8(msg.mid(2).left(size - 4));
+			emit SendTeamMessage(msgbody);
 			break;
 		}
 		default: {