Minor fix

This commit is contained in:
Eduard Urbach 2018-03-26 23:42:54 +02:00
parent ca90d40ca9
commit 3799bc5330

View File

@ -23,7 +23,10 @@ func Sequels(ctx *aero.Context) string {
sequels := []*utils.AnimeWithRelatedAnime{}
for anime := range arn.StreamAnime() {
if animeList.Contains(anime.ID) {
item := animeList.Find(anime.ID)
// Ignore if user added the anime and it's not "Planned" status
if item != nil && item.Status != arn.AnimeListStatusPlanned {
continue
}