aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/admin
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/admin')
-rw-r--r--server/src/commands/admin/addmod.js2
-rw-r--r--server/src/commands/admin/listusers.js2
-rw-r--r--server/src/commands/admin/reload.js2
-rw-r--r--server/src/commands/admin/removemod.js4
-rw-r--r--server/src/commands/admin/saveconfig.js2
-rw-r--r--server/src/commands/admin/shout.js2
6 files changed, 7 insertions, 7 deletions
diff --git a/server/src/commands/admin/addmod.js b/server/src/commands/admin/addmod.js
index e5d8495..8f934ce 100644
--- a/server/src/commands/admin/addmod.js
+++ b/server/src/commands/admin/addmod.js
@@ -2,7 +2,7 @@
Description: Adds the target trip to the mod list then elevates the uType
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket, data) {
diff --git a/server/src/commands/admin/listusers.js b/server/src/commands/admin/listusers.js
index 3ab6811..54c93dc 100644
--- a/server/src/commands/admin/listusers.js
+++ b/server/src/commands/admin/listusers.js
@@ -2,7 +2,7 @@
Description: Outputs all current channels and their user nicks
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket) {
diff --git a/server/src/commands/admin/reload.js b/server/src/commands/admin/reload.js
index ccab805..f74624e 100644
--- a/server/src/commands/admin/reload.js
+++ b/server/src/commands/admin/reload.js
@@ -2,7 +2,7 @@
Description: Clears and resets the command modules, outputting any errors
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket, data) {
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({
diff --git a/server/src/commands/admin/saveconfig.js b/server/src/commands/admin/saveconfig.js
index 708f406..b9411af 100644
--- a/server/src/commands/admin/saveconfig.js
+++ b/server/src/commands/admin/saveconfig.js
@@ -2,7 +2,7 @@
Description: Writes the current config to disk
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket) {
diff --git a/server/src/commands/admin/shout.js b/server/src/commands/admin/shout.js
index ee81e58..65695b3 100644
--- a/server/src/commands/admin/shout.js
+++ b/server/src/commands/admin/shout.js
@@ -2,7 +2,7 @@
Description: Emmits a server-wide message as `info`
*/
-import * as UAC from "../utility/UAC/info";
+import * as UAC from '../utility/UAC/_info';
// module main
export async function run(core, server, socket, data) {