Fix CustomUserColors
Some checks failed
Release / Build Equicord (push) Has been cancelled
Test / Test (push) Has been cancelled

This commit is contained in:
thororen1234 2025-04-23 18:27:51 -04:00
parent b0ea6e838c
commit f5c099c4a4
No known key found for this signature in database

View file

@ -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
},