From 912092425248f7fc5155b4c7c46b7d00ec2676bc Mon Sep 17 00:00:00 2001 From: wazlaf Date: Fri, 20 Sep 2002 23:28:14 +0000 Subject: support for client commands (only /join implemented so far), crash bugfix, fixed 2 leaks, server browser now includes a channel list --- (limited to 'noncore/net/opieirc/ircoutput.cpp') diff --git a/noncore/net/opieirc/ircoutput.cpp b/noncore/net/opieirc/ircoutput.cpp index aa57d86..878bc9b 100644 --- a/noncore/net/opieirc/ircoutput.cpp +++ b/noncore/net/opieirc/ircoutput.cpp @@ -13,6 +13,13 @@ QString IRCOutput::message() { return m_message; } +QString IRCOutput::htmlMessage() { + QString htmlMessage =m_message.replace(QRegExp("&"), "&"); + htmlMessage = htmlMessage.replace(QRegExp(">"), ">"); + htmlMessage = htmlMessage.replace(QRegExp("<"), "<"); + return htmlMessage; +} + void IRCOutput::addParam(void *data) { m_parameters.append(data); } -- cgit v0.9.0.2