1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

eslint: undefined variable key; looks like it should be badge_id

This commit is contained in:
lemonslut 2025-06-07 16:45:58 -06:00
parent 2209ed92f9
commit a514c143fa
No known key found for this signature in database

View file

@ -657,7 +657,7 @@ export default class Badges extends Module {
const existing = this.badges[badge_id];
if ( existing && existing.addon !== addon_id )
module.log.warn('[DEV-CHECK] Removed un-owned badge with chat.badges.removeBadge():', key, ' owner:', existing.addon ?? 'ffz');
module.log.warn('[DEV-CHECK] Removed un-owned badge with chat.badges.removeBadge():', badge_id, ' owner:', existing.addon ?? 'ffz');
return this.removeBadge(badge_id, ...args);
};