Fix an error

This commit is contained in:
calzoneman 2013-09-12 16:26:45 -05:00
parent 408f6626bb
commit 5497a868a3
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Thu Sep 12 16:25 2013 CDT
* lib/channel.js: Fix an error resulting from calcVoteskipMax being run
when the usercount is 0
Thu Sep 12 13:01 2013 CDT
* lib/channel.js: Fix the XSS filter hack that allows style attributes
to allow more than one in a chat filter replacement

View file

@ -1200,7 +1200,7 @@ Channel.prototype.calcVoteskipMax = function () {
return u.meta.afk ? 0 : 1;
}).reduce(function (a, b) {
return a + b;
});
}, 0);
};
Channel.prototype.broadcastVoteskipUpdate = function() {