Browse Source

Removed duplicate decl

pull/768/head
RogueException GitHub 8 years ago
parent
commit
e04c44794f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Rest/Net/Converters/ImageConverter.cs

+ 1
- 1
src/Discord.Net.Rest/Net/Converters/ImageConverter.cs View File

@@ -35,7 +35,7 @@ namespace Discord.Net.Converters
{
var cloneStream = new MemoryStream();
image.Stream.CopyTo(cloneStream);
byte[] bytes = new byte[cloneStream.Length];
bytes = new byte[cloneStream.Length];
cloneStream.Position = 0;
cloneStream.Read(bytes, 0, bytes.Length);
length = (int)cloneStream.Length;


Loading…
Cancel
Save