Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
fizvlad authored and PixeLInc committed Mar 21, 2023
1 parent c4df459 commit 86fcec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discordcr/voice.cr
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ module Discord
# IP so we can select the protocol on the VWS
def send_discovery
data = Bytes.new(74)
IO::ByteFormat::BigEndian.encode(1_u16, data[0, 2]) # Mark as request
IO::ByteFormat::BigEndian.encode(1_u16, data[0, 2]) # Mark as request
IO::ByteFormat::BigEndian.encode(70_u16, data[2, 2]) # Message size
IO::ByteFormat::BigEndian.encode(@ssrc.not_nil!, data[4, 4])
@socket.write(data)
Expand Down

0 comments on commit 86fcec2

Please sign in to comment.