Remove deprecated support for debug as a boolean in the configuration file

This commit is contained in:
Jérémie Astori 2017-11-22 02:10:36 -05:00
parent d0f5d5025e
commit deaf803467
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

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")) {