aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/betterRoleDot.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/betterRoleDot.ts')
-rw-r--r--src/plugins/betterRoleDot.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/betterRoleDot.ts b/src/plugins/betterRoleDot.ts
index 3b2ac39..6cadf79 100644
--- a/src/plugins/betterRoleDot.ts
+++ b/src/plugins/betterRoleDot.ts
@@ -41,7 +41,7 @@ export default definePlugin({
all: true,
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
replacement: {
- match: /"(?:username|dot)"===\w\b/g,
+ match: /"(?:username|dot)"===\w(?!\.\w)/g,
replace: "true",
},
},