@ -58,7 +58,7 @@ type PacketAdminJoin struct {
func (p *PacketAdminJoin) Bytes() []byte {
buf := new(bytes.Buffer)
p.PLength = binary.Size(p)
p.PLength = uint16(binary.Size(p))
_ = binary.Write(buf, binary.LittleEndian, p)
return buf.Bytes()
}
The note is not visible to the blocked user.