Skip to content

Commit 9833164

Browse files
committed
fix #1979
1 parent eb8a1b2 commit 9833164

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DSharpPlus.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
4-
<VersionPrefix>4.4.8</VersionPrefix>
4+
<VersionPrefix>4.4.9</VersionPrefix>
55
<NoWarn>1591</NoWarn>
66
<LangVersion>9.0</LangVersion>
77
<Optimize>True</Optimize>

DSharpPlus/Net/Serialization/DiscordPermissionsJsonConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public override Permissions ReadJson(JsonReader reader, Type objectType, Permiss
3535
{
3636
var token = JToken.Load(reader);
3737

38-
if (token != null || token.Type == JTokenType.Null)
38+
if (token == null || token.Type == JTokenType.Null)
3939
{
4040
return Permissions.None;
4141
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy