diff --git a/DragonFruit.Six.Api/Dragon6Client.cs b/DragonFruit.Six.Api/Dragon6Client.cs index 6e2ec041..9e3faab3 100644 --- a/DragonFruit.Six.Api/Dragon6Client.cs +++ b/DragonFruit.Six.Api/Dragon6Client.cs @@ -74,7 +74,7 @@ internal void ValidateToken() { lock (_lock) { - if (Token?.Expired != true) + if (Token is null || Token.Expired) { // todo throw something if this is majorly expired or null Token = GetToken();