remove stub implementation of permissions

in it's current form it was useless anyways, unless you only wanted mod-wide permissions
typescript
Drake 2 years ago
parent 9e0b0510bc
commit 8b774393b3

@ -32,15 +32,7 @@ const demon = {
settings
};
function isAllowed(mod) {
//TODO: actually implement permissions
return true;
}
function summon(mod) {
if (!isAllowed(mod)) {
throw new Error("Not allowed!"); //TODO: make this not irrepairably error out
}
const mods = mod.split("/");
let res = demon;
mods.forEach((m) => {

Loading…
Cancel
Save