From bfafdbe2bf1e79ef4de8e1a887f469a5654d7dcb Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 28 Oct 2019 00:37:53 +0100 Subject: [PATCH] Invalidate proxy cache when clearing proxy tags --- PluralKit.Bot/Commands/MemberCommands.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PluralKit.Bot/Commands/MemberCommands.cs b/PluralKit.Bot/Commands/MemberCommands.cs index e028c315..09a5da8c 100644 --- a/PluralKit.Bot/Commands/MemberCommands.cs +++ b/PluralKit.Bot/Commands/MemberCommands.cs @@ -163,6 +163,8 @@ namespace PluralKit.Bot.Commands target.Suffix = null; await _data.SaveMember(target); await ctx.Reply($"{Emojis.Success} Member proxy tags cleared."); + + await _proxyCache.InvalidateResultsForSystem(ctx.System); return; }