test
This commit is contained in:
1 parent
e8af3c3ad8
commit
746e85e20e
1 file changed
+1
-1
@@ -59,7 +59,7 @@ type PacketAdminJoin struct {
|
||||
func (p *PacketAdminJoin) Bytes() []byte {
|
||||
buf := new(bytes.Buffer)
|
||||
p.PLength = uint16(binary.Size(p))
|
||||
err := binary.Write(buf, binary.LittleEndian, p)
|
||||
err := binary.Write(buf, binary.LittleEndian, p.Packet)
|
||||
logErrorDebug(err, "binary.Write")
|
||||
return buf.Bytes()
|
||||
}
|
||||
Reference in new issue
Block a user