mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +00:00
eslint: unused vars chat/index.js
This commit is contained in:
parent
528f5882d6
commit
6ec770349c
1 changed files with 3 additions and 3 deletions
|
@ -1549,7 +1549,7 @@ export default class Chat extends Module {
|
|||
if ( has(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())
|
||||
room.load_data();
|
||||
});
|
||||
|
@ -1565,7 +1565,7 @@ export default class Chat extends Module {
|
|||
|
||||
this.triggered_reload = false;
|
||||
|
||||
this.on('chat:ffz-command:reload', event => {
|
||||
this.on('chat:ffz-command:reload', () => {
|
||||
if ( this.triggered_reload )
|
||||
return;
|
||||
|
||||
|
@ -2871,7 +2871,7 @@ export default class Chat extends Module {
|
|||
}
|
||||
|
||||
|
||||
onProviderChange(key, value) {
|
||||
onProviderChange(key) {
|
||||
if ( key !== 'agreed-tos' && key !== 'declined-tos' )
|
||||
return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue