From 193f755c5744d012cb762a7dc05443dd6bc742ec Mon Sep 17 00:00:00 2001 From: Hamcha Date: Thu, 11 Feb 2016 15:45:42 +0000 Subject: [PATCH] stats: CopyPaste error, a classic --- stats/stats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats/stats.go b/stats/stats.go index 4ebe75d..f21f7fd 100644 --- a/stats/stats.go +++ b/stats/stats.go @@ -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 }