mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-12-29 23:01:18 +00:00
Fix: Do not display past time events
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4419232fe9
commit
b9f683c982
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ func (m modPresence) cronUpdatePresence() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if seg.StartTime.Before(time.Now()) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
nextStream = seg.StartTime
|
nextStream = seg.StartTime
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue