Albirew/nyaa-pantsu
Albirew
/
nyaa-pantsu
Archivé
1
0
Bifurcation 0

Fixing issue with boolean pointer for private torrent

Cette révision appartient à :
akuma06 2017-12-21 18:52:32 +01:00
Parent 19f39acb56
révision 1aa73e3acc
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -203,7 +203,7 @@ func (r *TorrentRequest) ValidateMultipartUpload(c *gin.Context, uploadFormTorre
}
// check a few things
if *torrentInfos.Private {
if torrentInfos.Private != nil && *torrentInfos.Private {
return errTorrentPrivate
}
// We check that the trackers are valid,