diff --git a/main.go b/main.go index c05b999..8d0bfea 100644 --- a/main.go +++ b/main.go @@ -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")