mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
eslint: unused vars
This commit is contained in:
parent
42792cbd80
commit
2209ed92f9
1 changed files with 4 additions and 2 deletions
|
@ -549,7 +549,8 @@ export const mod = {
|
||||||
return this.i18n.t('chat.actions.mod.tooltip', 'Mod {user.login}', {user: data.user});
|
return this.i18n.t('chat.actions.mod.tooltip', 'Mod {user.login}', {user: data.user});
|
||||||
},
|
},
|
||||||
|
|
||||||
hidden(data, message, current_room, current_user, mod_icons, instance) {
|
// can accept (data, message, current_room, current_user, mod_icons, instance)
|
||||||
|
hidden(data, message, current_room, current_user) {
|
||||||
// You cannot mod mods.
|
// You cannot mod mods.
|
||||||
if ( message.user.type === 'mod' )
|
if ( message.user.type === 'mod' )
|
||||||
return true;
|
return true;
|
||||||
|
@ -584,7 +585,8 @@ export const unmod = {
|
||||||
return this.i18n.t('chat.actions.unmod.tooltip', 'Un-Mod {user.login}', {user: data.user});
|
return this.i18n.t('chat.actions.unmod.tooltip', 'Un-Mod {user.login}', {user: data.user});
|
||||||
},
|
},
|
||||||
|
|
||||||
hidden(data, message, current_room, current_user, mod_icons, instance) {
|
// can accept (data, message, current_room, current_user, mod_icons, instance)
|
||||||
|
hidden(data, message, current_room, current_user) {
|
||||||
// You can only un-mod mods.
|
// You can only un-mod mods.
|
||||||
if ( message.user.type !== 'mod' )
|
if ( message.user.type !== 'mod' )
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue