summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircoutput.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/net/opieirc/ircoutput.cpp b/noncore/net/opieirc/ircoutput.cpp
index d2c730f..26d90cb 100644
--- a/noncore/net/opieirc/ircoutput.cpp
+++ b/noncore/net/opieirc/ircoutput.cpp
@@ -4,15 +4,15 @@
4 4
5 5
6IRCOutputEscapeSecuences IRCOutput::m_escapeSecuences[] = { 6IRCOutputEscapeSecuences IRCOutput::m_escapeSecuences[] = {
7 { '', "<b>", "</b>"}, 7 { '\002', "<b>", "</b>"},
8 { '', "<u>", "</u>"}, 8 { '\037', "<u>", "</u>"},
9 { 0, 0, 0}, 9 { 0, 0, 0},
10}; 10};
11 11
12IRCOutput::IRCOutput(IRCOutputType type, QString message) { 12IRCOutput::IRCOutput(IRCOutputType type, QString message) {
13 m_type = type; 13 m_type = type;
14 /* Filter color, bold and underline escape sequences, since they aren't implemented yet */ 14 /* Filter color escape sequences, since they aren't implemented yet */
15 m_message = message.replace(QRegExp("[1-9]*,*[1-9]*"), ""); 15 m_message = message.replace(QRegExp("\003[1-9]*,*[1-9]*"), "");
16} 16}
17 17
18IRCOutputType IRCOutput::type() { 18IRCOutputType IRCOutput::type() {