mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-06-27 21:05:53 +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});
|
||||
},
|
||||
|
||||
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.
|
||||
if ( message.user.type === 'mod' )
|
||||
return true;
|
||||
|
@ -584,7 +585,8 @@ export const unmod = {
|
|||
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.
|
||||
if ( message.user.type !== 'mod' )
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue