1
0
Fork 0
forked from External/ergo

Fix lots of nits

This commit is contained in:
Daniel Oaks 2017-04-16 11:31:33 +10:00
parent 8ba0bf347d
commit 22216d4d60
7 changed files with 39 additions and 24 deletions

View file

@ -59,7 +59,7 @@ func (list *WhoWasList) Find(nickname string, limit int64) []*WhoWas {
}
func (list *WhoWasList) prev(index int) int {
index -= 1
index--
if index < 0 {
index += len(list.buffer)
}