1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-05 22:00:54 +00:00

3.5.382. Fix bits breaking chat again. Hopefully bits are somewhat more hardened against Twitch randomly making a minor change that breaks everything now. But probably not.

This commit is contained in:
SirStendec 2016-11-28 19:09:17 -05:00
parent d7000f2f06
commit 875e15fde2
3 changed files with 8 additions and 3 deletions

View file

@ -157,8 +157,8 @@ FFZ.prototype.setup_bits = function() {
for(var i=0; i < config.prefixes.length; i++) {
var prefix = config.prefixes[i],
data = config[prefix],
tiers = data && data.tiers;
data = this._getConfigPrefix(prefix),
tiers = data && data.tiers || [];
for(var x=0; x < tiers.length; x++)
output.push(this._ffz_tier_css(x, prefix, tiers[x]));