Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bdistin committed May 23, 2017
1 parent 1ea52e5 commit dfb7c19
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions classes/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ const PermLevels = require("./permLevels.js");
/* Will Change this later */
const Config = require("./Configuration Types/Config.js");

// require("./Extendables.js");

const defaultPermStructure = new PermLevels()
.addLevel(0, false, () => true)
.addLevel(2, false, (client, msg) => {
Expand Down
2 changes: 1 addition & 1 deletion classes/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ module.exports = class Loader {
.catch(() => { fs.ensureDirAsync(`${this.client.coreBaseDir}extendables${sep}`).catch(err => this.client.emit("error", this.client.funcs.newError(err))); });
if (coreFiles) {
await this.loadFiles(coreFiles.filter(file => file.endsWith(".js"))
// && (coreProtected.extendables.includes(file.split(".")[0]) || !this.client.config.disabled.functions.includes(file.split(".")[0])))
// && (coreProtected.extendables.includes(file.split(".")[0]) || !this.client.config.disabled.extendables.includes(file.split(".")[0])))
, this.client.coreBaseDir, this.loadNewExtendable, this.loadExtendables)
.catch((err) => { throw err; });
}
Expand Down

0 comments on commit dfb7c19

Please sign in to comment.