This commit is contained in:
thororen1234 2025-04-04 21:29:37 -04:00
parent aca48cb9e5
commit 5f8c0c0f0e
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -83,8 +83,8 @@ export default definePlugin({
// this also affects name headers in chats outside of servers
find: '="SYSTEM_TAG"',
replacement: {
match: /(?<=\i.gradientClassName]\),style:.{0,80}:void 0\}\)\(\),)/,
replace: "style:{color:$self.colorIfServer(arguments[0])},"
match: /\i.gradientClassName]\),style:/,
replace: "$&{color:$self.colorIfServer(arguments[0])},_style:"
},
predicate: () => !Settings.plugins.IrcColors.enabled
},