Fixing insertion of counters for negative counts

This commit is contained in:
Chris Sexton 2013-01-23 19:42:25 -05:00
parent dbb2e97ba3
commit 130e471c8e
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ func (p *CounterPlugin) update(subject, itemName string, delta int) Item {
item = Item{
Nick: subject,
Item: itemName,
Count: 1,
Count: delta,
}
p.Coll.Insert(item)
} else {