forked from GitHub/dbot
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) {
|
||||
if(!_.has(userCount, notify.user)) {
|
||||
userCount[notify.user] = 0;
|
||||
userCount[notify.user] = 1;
|
||||
} else {
|
||||
userCount[notify.user]++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user