From 1dd254c95a582c2c86c816516a1b4433d8142d8a Mon Sep 17 00:00:00 2001 From: wazlaf Date: Sun, 29 Sep 2002 19:54:12 +0000 Subject: some more message types supported to make this work more smoothly with freenode.net --- (limited to 'noncore/net/opieirc/ircservertab.cpp') diff --git a/noncore/net/opieirc/ircservertab.cpp b/noncore/net/opieirc/ircservertab.cpp index 4be60ef..aea58a3 100644 --- a/noncore/net/opieirc/ircservertab.cpp +++ b/noncore/net/opieirc/ircservertab.cpp @@ -219,6 +219,18 @@ void IRCServerTab::display(IRCOutput output) { channelTab->appendText(""+output.htmlMessage()+"
"); } break; + case OUTPUT_TOPIC: { + IRCChannel *channel = (IRCChannel *) output.getParam(0); + if (channel) { + IRCChannelTab *channelTab = getTabForChannel(channel); + if (channelTab) { + channelTab->appendText(""+output.htmlMessage()+"
"); + return; + } + } + appendText(""+output.htmlMessage()+"
"); + } + break; case OUTPUT_QUIT: { QString nick = ((IRCPerson *)output.getParam(0))->nick(); QListIterator it(m_channelTabs); -- cgit v0.9.0.2