Browse Source

Merge pull request #317 from jvitkauskas/fixTypo

fix typo
pull/337/head
RogueException GitHub 8 years ago
parent
commit
2fbb4633a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net/Models/User.cs

+ 1
- 1
src/Discord.Net/Models/User.cs View File

@@ -270,7 +270,7 @@ namespace Discord
await Client.ClientAPI.Send(request).ConfigureAwait(false);
nickname = "";
}
if (!isCurrentUser || isMuted != null || isDeafened != null | voiceChannel != null || roles != null)
if (!isCurrentUser || isMuted != null || isDeafened != null || voiceChannel != null || roles != null)
{
//Swap "" and null. Our libs meanings and the API's are flipped.
if (nickname == null) nickname = "";


Loading…
Cancel
Save