aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/admin/removemod.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/admin/removemod.js')
-rw-r--r--server/src/commands/admin/removemod.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/commands/admin/removemod.js b/server/src/commands/admin/removemod.js
index 48e65fb..f76ff13 100644
--- a/server/src/commands/admin/removemod.js
+++ b/server/src/commands/admin/removemod.js
@@ -2,7 +2,7 @@
Description: Removes target trip from the config as a mod and downgrades the socket type
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket, data) {
@@ -20,7 +20,7 @@ export async function run(core, server, socket, data) {
for (let i = 0, l = targetMod.length; i < l; i += 1) {
// downgrade privilages
targetMod[i].uType = 'user';
- targetMod[i].level = UAC.levels.user;
+ targetMod[i].level = UAC.levels.default;
// inform ex-mod
server.send({