diff -r d01d3bf3e1de -r e13a1117152b QTfrontend/chatwidget.cpp
--- a/QTfrontend/chatwidget.cpp Sat Sep 26 20:54:13 2009 +0000
+++ b/QTfrontend/chatwidget.cpp Sun Sep 27 10:26:36 2009 +0000
@@ -78,9 +78,12 @@
if (chatStrings.size() > 250)
chatStrings.removeFirst();
- QString formattedStr = Qt::escape(str);
- if (formattedStr.startsWith("["))
+ QString formattedStr = Qt::escape(str.mid(1));
+ if (str.startsWith("\x03"))
formattedStr = QString("%1").arg(formattedStr);
+ else if (str.startsWith("\x02"))
+ formattedStr = QString("%1").arg(formattedStr);
+
chatStrings.append(formattedStr);