Fixed DualChannelPermissions.GetBit
This commit is contained in:
@@ -195,9 +195,9 @@ namespace Discord
|
|||||||
if (Allow.GetBit(pos))
|
if (Allow.GetBit(pos))
|
||||||
return true;
|
return true;
|
||||||
else if (Deny.GetBit(pos))
|
else if (Deny.GetBit(pos))
|
||||||
return true;
|
|
||||||
else
|
|
||||||
return false;
|
return false;
|
||||||
|
else
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
private void SetBit(PermissionsBits pos, bool? value)
|
private void SetBit(PermissionsBits pos, bool? value)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user