mirror of https://github.com/calzoneman/sync.git
Fix an error
This commit is contained in:
parent
408f6626bb
commit
5497a868a3
|
@ -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
|
Thu Sep 12 13:01 2013 CDT
|
||||||
* lib/channel.js: Fix the XSS filter hack that allows style attributes
|
* lib/channel.js: Fix the XSS filter hack that allows style attributes
|
||||||
to allow more than one in a chat filter replacement
|
to allow more than one in a chat filter replacement
|
||||||
|
|
|
@ -1200,7 +1200,7 @@ Channel.prototype.calcVoteskipMax = function () {
|
||||||
return u.meta.afk ? 0 : 1;
|
return u.meta.afk ? 0 : 1;
|
||||||
}).reduce(function (a, b) {
|
}).reduce(function (a, b) {
|
||||||
return a + b;
|
return a + b;
|
||||||
});
|
}, 0);
|
||||||
};
|
};
|
||||||
|
|
||||||
Channel.prototype.broadcastVoteskipUpdate = function() {
|
Channel.prototype.broadcastVoteskipUpdate = function() {
|
||||||
|
|
Loading…
Reference in New Issue