diff --git a/internal/radio/mostlistened.go b/internal/radio/mostlistened.go index 09cf49e..f501c90 100644 --- a/internal/radio/mostlistened.go +++ b/internal/radio/mostlistened.go @@ -46,8 +46,8 @@ var mostListened MostListenedSong // // So it would be fairer to give these listeners back to a song they was // listening to. -func CheckAndUpdateMostListenedSong(cur *Song) { - if cur == nil || cur.Artist == "" { +func CheckAndUpdateMostListenedSong(cur Song) { + if cur.Artist == "" { return } if cur.MaxListeners > mostListened.Listeners {