mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
Merge a3aa02e779 into 4a947c01fc
This commit is contained in:
commit
5fcbd1397f
14 changed files with 182 additions and 29 deletions
|
|
@ -184,7 +184,7 @@ public class ProxyService
|
|||
throw new ProxyChecksFailedException("This message is the initial message in a forum post, which PluralKit is unable to proxy correctly.");
|
||||
|
||||
// Make sure proxying is enabled here
|
||||
if (ctx.InBlacklist)
|
||||
if (ctx.InProxyBlacklist)
|
||||
throw new ProxyChecksFailedException(
|
||||
"Proxying was disabled in this channel by a server administrator (via the proxy blacklist).");
|
||||
|
||||
|
|
@ -290,7 +290,7 @@ public class ProxyService
|
|||
await _repo.GetMessageContext(msg.Sender, msg.Guild!.Value, rootChannel.Id, msg.Channel);
|
||||
|
||||
// Make sure proxying is enabled here
|
||||
if (ctx.InBlacklist)
|
||||
if (ctx.InProxyBlacklist)
|
||||
throw new ProxyChecksFailedException(
|
||||
"Proxying was disabled in this channel by a server administrator (via the proxy blacklist).");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue