From f5c099c4a41ccc099c0097e5f90c16f4ba233cec Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 23 Apr 2025 18:27:51 -0400 Subject: [PATCH] Fix CustomUserColors --- src/equicordplugins/customUserColors/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/equicordplugins/customUserColors/index.tsx b/src/equicordplugins/customUserColors/index.tsx index b75d8659..034b6187 100644 --- a/src/equicordplugins/customUserColors/index.tsx +++ b/src/equicordplugins/customUserColors/index.tsx @@ -98,8 +98,8 @@ export default definePlugin({ // this also affects name headers in chats outside of servers find: '="SYSTEM_TAG"', replacement: { - match: /\i.gradientClassName]\),style:/, - replace: "$&{color:$self.colorIfServer(arguments[0])},_style:" + match: /(?<=\.username.{0,50}?)style:/, + replace: "style:{color:$self.colorIfServer(arguments[0])},_style:" }, predicate: () => !Settings.plugins.IrcColors.enabled },