Hide AutoWHO for nicks without IrcUser objects
authorShane Synan <digitalcircuit36939@gmail.com>
Thu, 29 Sep 2016 00:28:28 +0000 (19:28 -0500)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 13 Oct 2016 20:19:11 +0000 (22:19 +0200)
commiteabcc4905f991bb372cb2fb125b766802366701a
treef0b3da6fa8f97bbb8759dda4daf162defd429d0e
parent27f186f9c78928d8c929d534f9f845978ba5bc83
Hide AutoWHO for nicks without IrcUser objects

Don't require an IrcUser to exist when checking if WHO replies should
be hidden.  The nickname is enough for checking.

This mimics CoreSessionEventProcessor::processIrcEvent403, where
ERR_NOSUCHCHANNEL replies are hidden if nickname is in the list
regardless of whether or not an IrcUser object exists.

Potentially fixes AutoWHO replies showing in the server buffer when
nicks quickly join and leave channels, resulting in the IrcUser
object getting destroyed before the server replies to the AutoWHO
request.

It's difficult to recreate the issue on demand, so it's quite
possible there's more to fix.

Resolves GH-256.
src/core/coresessioneventprocessor.cpp