mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-11-12 17:02:44 +00:00
Fix: Skip cancelled streams
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
24785d7076
commit
3d00075dc7
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ func cronUpdateSchedule() {
|
||||||
title = fmt.Sprintf("%s (%s)", seg.Title, seg.Category.Name)
|
title = fmt.Sprintf("%s (%s)", seg.Title, seg.Category.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
if seg.StartTime == nil {
|
if seg.StartTime == nil || seg.CanceledUntil != nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue