1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

eslint: unused vars chat/index.js

This commit is contained in:
lemonslut 2025-06-07 17:03:19 -06:00
parent 528f5882d6
commit 6ec770349c
No known key found for this signature in database

View file

@ -1549,7 +1549,7 @@ export default class Chat extends Module {
if ( has(LINK_PROVIDERS, key) ) if ( has(LINK_PROVIDERS, key) )
this.addLinkProvider(LINK_PROVIDERS[key]); this.addLinkProvider(LINK_PROVIDERS[key]);
this.on('chat:reload-data', flags => { this.on('chat:reload-data', () => {
for(const room of this.iterateRooms()) for(const room of this.iterateRooms())
room.load_data(); room.load_data();
}); });
@ -1565,7 +1565,7 @@ export default class Chat extends Module {
this.triggered_reload = false; this.triggered_reload = false;
this.on('chat:ffz-command:reload', event => { this.on('chat:ffz-command:reload', () => {
if ( this.triggered_reload ) if ( this.triggered_reload )
return; return;
@ -2871,7 +2871,7 @@ export default class Chat extends Module {
} }
onProviderChange(key, value) { onProviderChange(key) {
if ( key !== 'agreed-tos' && key !== 'declined-tos' ) if ( key !== 'agreed-tos' && key !== 'declined-tos' )
return; return;