X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fcoresessioneventprocessor.cpp;h=defee9883ab3907dbc9506627ee0a0806f0dd651;hp=a461491c976d3dafe5ddc1f59052ad6b90858dbd;hb=b33ea3ad0598e43621f3923e0fbc01e87b9b0031;hpb=cdc6091a2e02b84a48937cda287a0769ceb8726a diff --git a/src/core/coresessioneventprocessor.cpp b/src/core/coresessioneventprocessor.cpp index a461491c..defee988 100644 --- a/src/core/coresessioneventprocessor.cpp +++ b/src/core/coresessioneventprocessor.cpp @@ -753,6 +753,10 @@ void CoreSessionEventProcessor::lateProcessIrcEventQuit(IrcEvent *e) if (!ircuser) return; + // Clear the user from the AutoWho queue if in it + // This avoids needlessly checking a user that quickly joins then parts + coreNetwork(e)->cancelAutoWhoOneshot(ircuser->nick()); + ircuser->quit(); }