Fix small lint errors found by gocritic

This commit is contained in:
Deluan 2021-07-15 13:42:54 -04:00
parent 8d56ec898e
commit b0fc684cb6
7 changed files with 8 additions and 8 deletions

View file

@ -53,7 +53,7 @@ func GetPlayTracker(ds model.DataStore, broker events.Broker) PlayTracker {
for name, constructor := range constructors {
s := constructor(ds)
if conf.Server.DevEnableBufferedScrobble {
s = NewBufferedScrobbler(ds, s, name)
s = newBufferedScrobbler(ds, s, name)
}
p.scrobblers[name] = s
}