tldr: fix small bug about indexing

This commit is contained in:
Chris Sexton 2019-03-26 17:55:07 -04:00
parent 0650a352c8
commit fa5a0a284b
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ func (p *TLDRPlugin) pruneHistory() {
}
}
p.history = out
p.index = len(out)
}
// Help responds to help requests. Every plugin must implement a help function.