aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/forceOwnerCrown.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/forceOwnerCrown.ts')
-rw-r--r--src/plugins/forceOwnerCrown.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/forceOwnerCrown.ts b/src/plugins/forceOwnerCrown.ts
index 0c1df47..3122410 100644
--- a/src/plugins/forceOwnerCrown.ts
+++ b/src/plugins/forceOwnerCrown.ts
@@ -30,7 +30,7 @@ export default definePlugin({
find: ".renderOwner=",
replacement: {
match: /isOwner;return null!=(\w+)?&&/g,
- replace: "isOwner;if(Vencord.Plugins.plugins.ForceOwnerCrown.isGuildOwner(this.props)){$1=true;}return null!=$1&&"
+ replace: "isOwner;if($self.isGuildOwner(this.props)){$1=true;}return null!=$1&&"
}
},
],