QTfrontend/newnetclient.cpp
changeset 4897 11598e7aa7e6
parent 4879 55f939e2c19c
child 4908 99d6797b7ff4
--- a/QTfrontend/newnetclient.cpp	Tue Feb 01 00:24:28 2011 +0100
+++ b/QTfrontend/newnetclient.cpp	Tue Feb 01 06:06:38 2011 +0100
@@ -276,7 +276,7 @@
             return;
         }
         if (netClientState == 2)
-            emit chatStringLobby(HWProto::formatChatMsg(lst[1], lst[2]));
+            emit chatStringLobby(lst[1], HWProto::formatChatMsgForFrontend(lst[2]));
         else
             emit chatStringFromNet(HWProto::formatChatMsg(lst[1], lst[2]));
         return;
@@ -418,7 +418,7 @@
             }
 
             emit nickAddedLobby(lst[i], false);
-            emit chatStringLobby(tr("%1 *** %2 has joined").arg('\x03').arg(lst[i]));
+            emit chatStringLobby(lst[i], tr("%1 *** %2 has joined").arg('\x03').arg("|nick|"));
         }
         return;
     }