From: Manuel Nickschas Date: Thu, 7 May 2009 18:07:46 +0000 (+0200) Subject: Handle ircd reply 328 (channel homepage) X-Git-Tag: 0.4.2~11 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=26943d14192c5cf546613b8909809c95f304a57b Handle ircd reply 328 (channel homepage) --- diff --git a/src/core/ircserverhandler.cpp b/src/core/ircserverhandler.cpp index 952a6f87..7614d6ef 100644 --- a/src/core/ircserverhandler.cpp +++ b/src/core/ircserverhandler.cpp @@ -819,6 +819,19 @@ void IrcServerHandler::handle324(const QString &prefix, const QList handleMode(prefix, params); } +/* RPL_??? - " */ +void IrcServerHandler::handle328(const QString &prefix, const QList ¶ms) { + Q_UNUSED(prefix); + if(!checkParamCount("IrcServerHandler::handle328()", params, 2)) + return; + + QString channel = serverDecode(params[0]); + QString homepage = serverDecode(params[1]); + + emit displayMsg(Message::Server, BufferInfo::ChannelBuffer, channel, tr("Homepage for %1 is %2").arg(channel, homepage)); +} + + /* RPL_??? - " " */ void IrcServerHandler::handle329(const QString &prefix, const QList ¶ms) { Q_UNUSED(prefix); diff --git a/src/core/ircserverhandler.h b/src/core/ircserverhandler.h index b06a6b65..90db4b45 100644 --- a/src/core/ircserverhandler.h +++ b/src/core/ircserverhandler.h @@ -68,6 +68,7 @@ public slots: void handle322(const QString &prefix, const QList ¶ms); // RPL_LIST void handle323(const QString &prefix, const QList ¶ms); // RPL_LISTEND void handle324(const QString &prefix, const QList ¶ms); // RPL_CHANNELMODEIS + void handle328(const QString &prefix, const QList ¶ms); // RPL_??? (channel homepage) void handle329(const QString &prefix, const QList ¶ms); // RPL_??? (channel creation time) void handle331(const QString &prefix, const QList ¶ms); // RPL_NOTOPIC void handle332(const QString &prefix, const QList ¶ms); // RPL_TOPIC