From: Aranjedeath Date: Wed, 9 Dec 2020 05:27:50 +0000 (-0800) Subject: Update metainfo.go X-Git-Tag: v1.19.0~3 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8d27c029622e74d0aa3361517480709807f84188;p=btrtrc.git Update metainfo.go delete "yoloham" so that is no longer the default comment string on torrents made without a comment specified. Should resolve https://github.com/anacrolix/torrent/issues/342 --- diff --git a/metainfo/metainfo.go b/metainfo/metainfo.go index 7dbacd1a..2e471c8a 100644 --- a/metainfo/metainfo.go +++ b/metainfo/metainfo.go @@ -61,7 +61,7 @@ func (mi MetaInfo) Write(w io.Writer) error { // Set good default values in preparation for creating a new MetaInfo file. func (mi *MetaInfo) SetDefaults() { - mi.Comment = "yoloham" + mi.Comment = "" mi.CreatedBy = "github.com/anacrolix/torrent" mi.CreationDate = time.Now().Unix() // mi.Info.PieceLength = 256 * 1024