diff --git a/ChaosBot/Services/RestrictedConfig.cs b/ChaosBot/Services/RestrictedConfig.cs index 8c19c8b..d3a2c91 100644 --- a/ChaosBot/Services/RestrictedConfig.cs +++ b/ChaosBot/Services/RestrictedConfig.cs @@ -16,12 +16,13 @@ namespace ChaosBot.Services public static async Task IsAllowed(string key) { - List restrictedCfg = new List {"Database:Host", "Database:Port", "Database:Name", "Database:User", "Database:Pass", "Bot:Version", "NLog", "WebServer", "Discord:Token"}; + // TODO: List populated from DB + 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; + if (restrictedCfg.Contains(key)) + return false; - return true; + return true; } } } \ No newline at end of file