stats: CopyPaste error, a classic

This commit is contained in:
Hamcha 2016-02-11 15:45:42 +00:00
parent e036d969ca
commit 193f755c57

View file

@ -344,7 +344,7 @@ func updateStats(message tg.APIMessage) {
}
b = tx.Bucket([]byte("weekday"))
err = b.Put([]byte{byte(wday)}, PutUint(stats.ByHour[wday]))
err = b.Put([]byte{byte(wday)}, PutUint(stats.ByWeekday[wday]))
if err != nil {
return err
}