diff --git a/src/sites/twitch-twilight/modules/channel.jsx b/src/sites/twitch-twilight/modules/channel.jsx index 1a3553cc..1768ef62 100644 --- a/src/sites/twitch-twilight/modules/channel.jsx +++ b/src/sites/twitch-twilight/modules/channel.jsx @@ -521,7 +521,7 @@ export default class Channel extends Module { // is actually a static string. if ( typeof c === 'string' && /^[0-9,.]+$/.test(c) ) { try { - const val = parseInt(c.replace(/[\.,]+/, ''), 10); + const val = parseInt(c.replace(/[.,]+/, ''), 10); if ( ! isNaN(val) && isFinite(val) && val > 0 ) return val; } catch(err) { /* no-op */ }