From 8d27c029622e74d0aa3361517480709807f84188 Mon Sep 17 00:00:00 2001 From: Aranjedeath Date: Tue, 8 Dec 2020 21:27:50 -0800 Subject: [PATCH] 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 --- metainfo/metainfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0