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
This commit is contained in:
Aranjedeath 2020-12-08 21:27:50 -08:00 committed by Matt Joiner
parent c81da2d5ee
commit 8d27c02962
1 changed files with 1 additions and 1 deletions

View File

@ -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