From 7e526e4172412eba720ffd1fa34511046ef47e6b Mon Sep 17 00:00:00 2001
From: Vendicated <vendicated@riseup.net>
Date: Wed, 5 Oct 2022 14:20:34 +0200
Subject: Kill unsafe require

---
 src/components/Settings.tsx | 7 -------
 1 file changed, 7 deletions(-)

(limited to 'src/components/Settings.tsx')

diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx
index 007767e..4e0196f 100644
--- a/src/components/Settings.tsx
+++ b/src/components/Settings.tsx
@@ -111,13 +111,6 @@ export default ErrorBoundary.wrap(function Settings() {
             >
                 Get notified about new Updates
             </Switch>}
-            {!IS_WEB && <Switch
-                value={settings.unsafeRequire}
-                onChange={(v: boolean) => settings.unsafeRequire = v}
-                note="Enables VencordNative.require. Useful for testing, very bad for security. Leave this off unless you need it."
-            >
-                Enable Unsafe Require
-            </Switch>}
 
             <Forms.FormDivider />
 
-- 
cgit 

