From 2074382fccea58a55b68c51815abc5df463473aa Mon Sep 17 00:00:00 2001 From: skyhusker Date: Sun, 23 Jan 2005 21:48:34 +0000 Subject: Changed notation in escape characters to look better --- 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 @@ IRCOutputEscapeSecuences IRCOutput::m_escapeSecuences[] = { - { '', "", ""}, - { '', "", ""}, + { '\002', "", ""}, + { '\037', "", ""}, { 0, 0, 0}, }; IRCOutput::IRCOutput(IRCOutputType type, QString message) { m_type = type; - /* Filter color, bold and underline escape sequences, since they aren't implemented yet */ - m_message = message.replace(QRegExp("[1-9]*,*[1-9]*"), ""); + /* Filter color escape sequences, since they aren't implemented yet */ + m_message = message.replace(QRegExp("\003[1-9]*,*[1-9]*"), ""); } IRCOutputType IRCOutput::type() { -- cgit v0.9.0.2