Invalidate proxy cache when clearing proxy tags
This commit is contained in:
		@@ -163,6 +163,8 @@ namespace PluralKit.Bot.Commands
 | 
				
			|||||||
                target.Suffix = null;
 | 
					                target.Suffix = null;
 | 
				
			||||||
                await _data.SaveMember(target);
 | 
					                await _data.SaveMember(target);
 | 
				
			||||||
                await ctx.Reply($"{Emojis.Success} Member proxy tags cleared.");
 | 
					                await ctx.Reply($"{Emojis.Success} Member proxy tags cleared.");
 | 
				
			||||||
 | 
					                
 | 
				
			||||||
 | 
					                await _proxyCache.InvalidateResultsForSystem(ctx.System);
 | 
				
			||||||
                return;
 | 
					                return;
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user