forked from External/ergo
Fix lots of nits
This commit is contained in:
parent
8ba0bf347d
commit
22216d4d60
7 changed files with 39 additions and 24 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue