mirror of https://github.com/velour/catbase.git
Fix silly sizing mistake
This commit is contained in:
parent
8ee54a11c2
commit
ce922135cd
|
@ -59,7 +59,7 @@ func (p *TLDRPlugin) message(kind bot.Kind, message msg.Message, args ...interfa
|
||||||
bestUsers := make([][]string, nTopics)
|
bestUsers := make([][]string, nTopics)
|
||||||
|
|
||||||
supportingDocs := p.Bot.Config().GetInt("TLDR.Support", 3)
|
supportingDocs := p.Bot.Config().GetInt("TLDR.Support", 3)
|
||||||
for i := 0; i < supportingDocs; i++ {
|
for i := 0; i < nTopics; i++ {
|
||||||
bestScores[i] = make([]float64, supportingDocs)
|
bestScores[i] = make([]float64, supportingDocs)
|
||||||
bestDocs[i] = make([]string, supportingDocs)
|
bestDocs[i] = make([]string, supportingDocs)
|
||||||
bestUsers[i] = make([]string, supportingDocs)
|
bestUsers[i] = make([]string, supportingDocs)
|
||||||
|
|
Loading…
Reference in New Issue