QTfrontend/newnetclient.cpp
changeset 1815 3d62cf9c350e
parent 1814 e5391d901cff
child 1816 be39d409b675
--- a/QTfrontend/newnetclient.cpp	Fri Feb 20 19:46:22 2009 +0000
+++ b/QTfrontend/newnetclient.cpp	Fri Feb 20 19:47:31 2009 +0000
@@ -259,10 +259,10 @@
 		return;
 	}
 
-	if (lst[0] == "CHAT_STRING") {
+	if (lst[0] == "CHAT") {
 		if(lst.size() < 3)
 		{
-			qWarning("Net: Empty CHAT_STRING message");
+			qWarning("Net: Empty CHAT message");
 			return;
 		}
 		if (netClientState == 2)
@@ -669,7 +669,7 @@
 void HWNewNet::chatLineToNet(const QString& str)
 {
 	if(str != "") {
-		RawSendNet(QString("CHAT_STRING") + delimeter + str);
+		RawSendNet(QString("CHAT") + delimeter + str);
 		emit(chatStringFromMe(formatChatMsg(mynick, str)));
 	}
 }
@@ -677,7 +677,7 @@
 void HWNewNet::chatLineToLobby(const QString& str)
 {
 	if(str != "") {
-		RawSendNet(QString("CHAT_STRING") + delimeter + str);
+		RawSendNet(QString("CHAT") + delimeter + str);
 		emit(chatStringFromMeLobby(formatChatMsg(mynick, str)));
 	}
 }