This commit is contained in:
shoopea 2020-06-14 16:59:55 +02:00
parent 6f242fe712
commit cb4f105cf7

View File

@ -13,9 +13,9 @@ func main() {
//send auth
p := PacketAdminJoin{
Packet: Packet{PType: AdminPacketAdminJoin},
Password: "plop",
AppName: "gottdad",
AppVersion: "alpha",
Password: []byte("plop"),
AppName: []byte("gottdad"),
AppVersion: []byte("alpha"),
}
_, err = conn.Write(p.Bytes())
failError(err, "conn.Write")