From a514c143faefc65dccf1ca9d7ac7f6f1f1d50ec5 Mon Sep 17 00:00:00 2001 From: lemonslut Date: Sat, 7 Jun 2025 16:45:58 -0600 Subject: [PATCH] eslint: undefined variable key; looks like it should be `badge_id` --- src/modules/chat/badges.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/chat/badges.jsx b/src/modules/chat/badges.jsx index 12779e3d..eb39d517 100644 --- a/src/modules/chat/badges.jsx +++ b/src/modules/chat/badges.jsx @@ -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); };