mirror of
https://github.com/reality/dbot.git
synced 2025-01-24 02:54:16 +01:00
1 not 0
This commit is contained in:
parent
570239cccf
commit
83ffee2874
@ -16,7 +16,7 @@ var pages = function(dbot) {
|
|||||||
|
|
||||||
this.db.scan('notifies', function(notify) {
|
this.db.scan('notifies', function(notify) {
|
||||||
if(!_.has(userCount, notify.user)) {
|
if(!_.has(userCount, notify.user)) {
|
||||||
userCount[notify.user] = 0;
|
userCount[notify.user] = 1;
|
||||||
} else {
|
} else {
|
||||||
userCount[notify.user]++;
|
userCount[notify.user]++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user