test
This commit is contained in:
parent
87dcc6472d
commit
6a615105b1
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user