Project

General

Profile

0001-display-RPL_WHOISACCOUNT-nicely.patch

admin, 07/05/2008 02:25 PM

View differences:

src/core/ircserverhandler.cpp
766 766
  // FIXME implement this... 
767 767
}
768 768

  
769
/*  RPL_WHOISACCT - "<nick> <account> :is authed as" */
770
void IrcServerHandler::handle330(const QString &prefix, const QList<QByteArray> &params) {
771
  Q_UNUSED(prefix);
772
  Q_UNUSED(params);
773
  emit displayMsg(Message::Server, BufferInfo::StatusBuffer, "", tr("[Whois] %1 %3 %2").arg(serverDecode(params[0])).arg(serverDecode(params[1])).arg(serverDecode(params[2])));
774
}
775

  
769 776
/* RPL_NOTOPIC */
770 777
void IrcServerHandler::handle331(const QString &prefix, const QList<QByteArray> &params) {
771 778
  Q_UNUSED(prefix);
src/core/ircserverhandler.h
68 68
  void handle323(const QString &prefix, const QList<QByteArray> &params);   // RPL_LISTEND
69 69
  void handle324(const QString &prefix, const QList<QByteArray> &params);   // RPL_CHANNELMODEIS
70 70
  void handle329(const QString &prefix, const QList<QByteArray> &params);   // RPL_??? (channel creation time)
71
  void handle330(const QString &prefix, const QList<QByteArray> &params);   // RPL_WHOISACCT (is logged in as) - snircd/Quakenet
71 72
  void handle331(const QString &prefix, const QList<QByteArray> &params);   // RPL_NOTOPIC
72 73
  void handle332(const QString &prefix, const QList<QByteArray> &params);   // RPL_TOPIC
73 74
  void handle333(const QString &prefix, const QList<QByteArray> &params);   // Topic set by...
74
-