diff --git a/ChaosBot/Services/RestrictedConfig.cs b/ChaosBot/Services/RestrictedConfig.cs index 8457b45..8c19c8b 100644 --- a/ChaosBot/Services/RestrictedConfig.cs +++ b/ChaosBot/Services/RestrictedConfig.cs @@ -16,7 +16,7 @@ namespace ChaosBot.Services public static async Task IsAllowed(string key) { - List restrictedCfg = new List {"Database", "Bot", "NLog", "WebServer", "Discord:Token"}; + List restrictedCfg = new List {"Database:Host", "Database:Port", "Database:Name", "Database:User", "Database:Pass", "Bot:Version", "NLog", "WebServer", "Discord:Token"}; if (restrictedCfg.Contains(key)) return false;