This commit is contained in:
Araxeus
2021-04-17 15:03:19 +03:00
parent 49698ea669
commit 12a2517697
3 changed files with 27 additions and 28 deletions

View File

@ -1,12 +1,12 @@
/*
this is used to determine if plugin is actually active
This is used to determine if plugin is actually active
(not if its only enabled in options)
*/
let enabled = false;
module.exports = (win,options) => {
enabled = true;
module.exports = () => {
enabled = true;
};
module.exports.enabled = () => {
return enabled;
};
return enabled;
};