mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-17 03:00:13 +00:00
fix formatting
This commit is contained in:
parent
d23e5a15d1
commit
87feccc29d
2 changed files with 2 additions and 2 deletions
|
|
@ -247,7 +247,7 @@ public class Checks
|
||||||
{
|
{
|
||||||
_proxy.ShouldProxy(channel, msg, context);
|
_proxy.ShouldProxy(channel, msg, context);
|
||||||
_matcher.TryMatch(context, autoproxySettings, members, out var match, msg.Content, msg.Attachments.Length > 0, true, ctx.Config.CaseSensitiveProxyTags);
|
_matcher.TryMatch(context, autoproxySettings, members, out var match, msg.Content, msg.Attachments.Length > 0, true, ctx.Config.CaseSensitiveProxyTags);
|
||||||
|
|
||||||
var canProxy = await _proxy.CanProxy(channel, msg, context);
|
var canProxy = await _proxy.CanProxy(channel, msg, context);
|
||||||
if (canProxy != null)
|
if (canProxy != null)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@ public class ProxyService
|
||||||
{
|
{
|
||||||
if (ctx.ProxyErrorMessageEnabled)
|
if (ctx.ProxyErrorMessageEnabled)
|
||||||
throw new PKError(canProxy);
|
throw new PKError(canProxy);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue