Minor edit

This commit is contained in:
RogueException
2016-01-12 05:58:15 -04:00
parent 4eb8f4de35
commit 19297ac623

View File

@@ -214,8 +214,8 @@ namespace Discord.Audio
if (count < 0) throw new ArgumentOutOfRangeException(nameof(count));
if (offset < 0) throw new ArgumentOutOfRangeException(nameof(count));
if (VoiceSocket.Server == null) return; //Has been closed
if (count == 0) return;
if (count != 0)
VoiceSocket.SendPCMFrames(data, offset, count);
}