Skip to content

Commit 63993aa

Browse files
committed
[server-stats] fix event count calculation
1 parent 15fa34e commit 63993aa

File tree

1 file changed

+1
-1
lines changed
  • plugins/server-stats/api

1 file changed

+1
-1
lines changed

plugins/server-stats/api/api.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var plugins = require('../../pluginManager.js'),
4646

4747
for (var i = 0; i < events.length; i++) {
4848
if (events[i].key) {
49-
eventCount += (events[i].count) ? events[i].count : 1;
49+
eventCount += 1;
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)