diff --git a/src/main/java/net/Broken/webView/GeneralWebView.java b/src/main/java/net/Broken/webView/GeneralWebView.java index 570bfbe..45a2c72 100644 --- a/src/main/java/net/Broken/webView/GeneralWebView.java +++ b/src/main/java/net/Broken/webView/GeneralWebView.java @@ -137,7 +137,6 @@ public class GeneralWebView { addGuildAndRedirect(model, token, guildId, user.getMutualGuilds()); Guild guild = MainBot.jda.getGuildById(guildId); model.addAttribute("settings", SettingsUtils.getInstance().extractSettings(guild)); - model.addAttribute("isAdmin", SettingsUtils.getInstance().checkPermission(token, guildId)); } catch (UnknownTokenException e) { throw new ForbiddenException(); } diff --git a/src/main/resources/templates/settings.html b/src/main/resources/templates/settings.html index 61a4674..5c0c924 100644 --- a/src/main/resources/templates/settings.html +++ b/src/main/resources/templates/settings.html @@ -3,7 +3,7 @@
-