X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Feventstringifier.cpp;h=77c7c526fd3bbc869ed82e64d371d8697077685b;hp=688886e129d9067d999f02cd368388e18ffa4d95;hb=57ec86fb8047e3b5b539bbdb9c833e7cd5f95f31;hpb=cd16b79d7152cdd84f9d6df2d37f43514f02b596 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 */