torrent.go | 5 +---- diff --git a/torrent.go b/torrent.go index bb8465df591144ba5d77bb2acb3768e59232ae1f..d1034f82853ad6a27392d6de6ced669786f88597 100644 --- a/torrent.go +++ b/torrent.go @@ -292,10 +292,7 @@ func (t *torrent) Name() string { if t.haveInfo() { return t.Info.Name } - if t.DisplayName != "" { - return t.DisplayName - } - return "" + return t.DisplayName } func (t *torrent) pieceState(index int) (ret PieceState) {