summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircchanneltab.cpp
authorwazlaf <wazlaf>2002-09-21 07:11:10 (UTC)
committer wazlaf <wazlaf>2002-09-21 07:11:10 (UTC)
commitd8accaeed5f95340e8d293d6d5d1bb136c57fe35 (patch) (unidiff)
tree8452081a1b36ab0db6b34a5a738ff7b64be641e9 /noncore/net/opieirc/ircchanneltab.cpp
parent2f560ac908935bd4bc4a6b8852d27676100510bb (diff)
downloadopie-d8accaeed5f95340e8d293d6d5d1bb136c57fe35.zip
opie-d8accaeed5f95340e8d293d6d5d1bb136c57fe35.tar.gz
opie-d8accaeed5f95340e8d293d6d5d1bb136c57fe35.tar.bz2
CTCP action now work via /me, HTML escaping now also works for text sent by yourself
Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchanneltab.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp
index 754442a..3267525 100644
--- a/noncore/net/opieirc/ircchanneltab.cpp
+++ b/noncore/net/opieirc/ircchanneltab.cpp
@@ -46,7 +46,9 @@ void IRCChannelTab::processCommand() {
46 m_parentTab->executeCommand(this, text);; 46 m_parentTab->executeCommand(this, text);;
47 } else { 47 } else {
48 if (text.startsWith("//"))
49 text = text.right(text.length()-1);
48 if (session()->isSessionActive()) { 50 if (session()->isSessionActive()) {
49 session()->sendMessage(m_channel, m_field->text()); 51 session()->sendMessage(m_channel, m_field->text());
50 appendText("&lt;<font color=\"#dd0000\">"+m_parentTab->server()->nick()+"</font>&gt; "+m_field->text()+"<br>"); 52 appendText("&lt;<font color=\"#dd0000\">"+m_parentTab->server()->nick()+"</font>&gt; "+IRCOutput::toHTML(m_field->text())+"<br>");
51 } 53 }
52 } 54 }