client: Fix an issue with redirection in MessageFilter
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 30 May 2021 14:23:14 +0000 (16:23 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 30 May 2021 15:26:36 +0000 (17:26 +0200)
commit533c5a8767adeb7de0a554eb6aa0335148a1403f
tree15c9048b5b17f8cc02eb49888de68cc82cd715ca
parent4e51500401db3c85dbe5e92e5e5c15b6e3c87787
client: Fix an issue with redirection in MessageFilter

Temporarily enabling the shadow warning unearthed an issue in 13 year
old code. I'm not quite sure if this really caused problems in practice,
but it clearly seems wrong to keep the invalid BufferId in the outer
scope after fixing it in the inner scope, so fix it.
src/client/messagefilter.cpp