diff --git a/main.go b/main.go index 8d0bfea..c05b999 100644 --- a/main.go +++ b/main.go @@ -13,9 +13,9 @@ func main() { //send auth p := PacketAdminJoin{ Packet: Packet{PType: AdminPacketAdminJoin}, - Password: []byte("plop"), - AppName: []byte("gottdad"), - AppVersion: []byte("alpha"), + Password: "plop", + AppName: "gottdad", + AppVersion: "alpha", } _, err = conn.Write(p.Bytes()) failError(err, "conn.Write")