From 94cc42c253c6d296d54734cb6845b5adb0e6fbac Mon Sep 17 00:00:00 2001 From: V Date: Sat, 24 Jan 2026 00:09:49 +0100 Subject: [PATCH] Apply suggestion from @Vendicated --- src/plugins/blurNsfw/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/blurNsfw/index.ts b/src/plugins/blurNsfw/index.ts index 731de5e3e..358c986b0 100644 --- a/src/plugins/blurNsfw/index.ts +++ b/src/plugins/blurNsfw/index.ts @@ -49,7 +49,7 @@ export default definePlugin({ replacement: [ { match: /(\.renderReactions\(\i\).+?className:)/, - replace: '$&(this.props.channel.nsfw?"vc-nsfw-img ":"")+' + replace: '$&(this.props?.channel?.nsfw?"vc-nsfw-img ":"")+' } ] }