Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix(plugins): DeadMembers patch
Browse files Browse the repository at this point in the history
  • Loading branch information
verticalsync committed Apr 18, 2024
1 parent 8c47abd commit 60e4429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/suncordplugins/DeadMembers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export default definePlugin({
{
find: "UsernameDecorationTypes:function()",
replacement: {
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\}/,
replace: "$&,{}=$1.children=$self.wrapMessageAuthor(arguments[0],$1.children)"
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\};/,
replace: "$&$1.children=$self.wrapMessageAuthor(arguments[0],$1.children);"
}
},
{
Expand Down

0 comments on commit 60e4429

Please sign in to comment.