This commit is contained in:
shoopea 2020-06-14 23:32:55 +02:00
parent 8cde937058
commit 1129e561b3

View File

@ -93,7 +93,7 @@ func (p *PacketAdminJoin) Bytes() []byte {
return buf.Bytes()
}
func (p *AdminPacketServerWelcome) Read(b []byte) {
func (p *PacketAdminServerWelcome) Read(b []byte) {
r := bufio.NewReader(bytes.NewReader(b))
p.ServerName, _ = r.ReadString(0)
p.OpenTTDVersion, _ = r.ReadString(0)