X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Feventstringifier.cpp;h=77c7c526fd3bbc869ed82e64d371d8697077685b;hb=61c8d84d1c849373e0f115dc748ed45cff95287d;hp=688886e129d9067d999f02cd368388e18ffa4d95;hpb=cd16b79d7152cdd84f9d6df2d37f43514f02b596;p=quassel.git diff --git a/src/core/eventstringifier.cpp b/src/core/eventstringifier.cpp index 688886e1..77c7c526 100644 --- a/src/core/eventstringifier.cpp +++ b/src/core/eventstringifier.cpp @@ -440,7 +440,12 @@ void EventStringifier::processIrcEvent330(IrcEvent *e) { if(e->params().count() < 3) return; - displayMsg(e, Message::Server, tr("[Whois] %1 is authed as %2").arg(e->params()[0], e->params()[1])); + // check for whois or whowas + if (_whois) { + displayMsg(e, Message::Server, tr("[Whois] %1 is authed as %2").arg(e->params()[0], e->params()[1])); + } else { + displayMsg(e, Message::Server, tr("[Whowas] %1 was authed as %2").arg(e->params()[0], e->params()[1])); + } } /* RPL_NOTOPIC */