This commit is contained in:
shoopea 2020-06-15 10:46:16 +02:00
parent 87dcc6472d
commit 6a615105b1

View File

@ -120,7 +120,7 @@ func (p *PacketAdminServerWelcome) Read(b []byte) {
func (p *PacketAdminServerProtocol) Read(b []byte) {
r := bufio.NewReader(bytes.NewReader(b))
r.Discard(3)
c, _ = r.ReadByte()
c, _ := r.ReadByte()
p.ProtocolVersion = uint8(c)
c, _ = r.ReadByte()
if c > 0 {