From ebaded4bbdf9d08a6908753a7e9ae85675b935a3 Mon Sep 17 00:00:00 2001 From: Fennel Date: Fri, 24 Apr 2020 17:21:02 -0400 Subject: [PATCH] Fix Proxied Messages Ignored --- PluralKit.Bot/Services/ProxyService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Services/ProxyService.cs b/PluralKit.Bot/Services/ProxyService.cs index b4a51fd6..0c5b1414 100644 --- a/PluralKit.Bot/Services/ProxyService.cs +++ b/PluralKit.Bot/Services/ProxyService.cs @@ -86,7 +86,7 @@ namespace PluralKit.Bot public async Task HandleMessageAsync(DiscordClient client, GuildConfig guild, CachedAccount account, DiscordMessage message, bool doAutoProxy) { // Bail early if this isn't in a guild channel - if (message.Channel.Guild != null) return; + if (message.Channel.Guild == null) return; // Find a member with proxy tags matching the message var match = GetProxyTagMatch(message.Content, account.System, account.Members);