Merge pull request #1729 from thelounge/astorije/rm-debug-deprecation

Remove deprecated support for `debug` as a boolean in the configuration file
This commit is contained in:
Pavel Djundik 2018-02-19 18:51:11 +02:00 committed by GitHub
commit 40f05b837d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,12 +100,6 @@ function setHome(newPath) {
const manifest = require("../public/manifest.json"); const manifest = require("../public/manifest.json");
this.config.themeColor = manifest.theme_color; this.config.themeColor = manifest.theme_color;
// TODO: Remove in future release
if (this.config.debug === true) {
log.warn("debug option is now an object, see defaults file for more information.");
this.config.debug = {ircFramework: true};
}
// TODO: Remove in future release // TODO: Remove in future release
// Backwards compatibility for old way of specifying themes in settings // Backwards compatibility for old way of specifying themes in settings
if (this.config.theme.includes(".css")) { if (this.config.theme.includes(".css")) {