From da9cbe3dbb799b7b668c895367c7d3778f1d0e16 Mon Sep 17 00:00:00 2001 From: marzavec Date: Fri, 6 Mar 2020 11:00:30 -0600 Subject: Minor UAC tweaks Added an underscore to the uac info lib which prevents the server from attempting to use the file as a command module, allowing removal of the 'info' property and empty 'run' command --- server/src/commands/core/join.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/src/commands/core/join.js') diff --git a/server/src/commands/core/join.js b/server/src/commands/core/join.js index eccac6e..3a59a6d 100644 --- a/server/src/commands/core/join.js +++ b/server/src/commands/core/join.js @@ -2,7 +2,7 @@ Description: Initial entry point, applies `channel` and `nick` to the calling socket */ -import * as UAC from "../utility/UAC/info"; +import * as UAC from '../utility/UAC/_info'; // module support functions const crypto = require('crypto'); @@ -22,7 +22,7 @@ export function parseNickname(core, data) { nick: '', uType: 'user', trip: null, - level: UAC.levels.user, + level: UAC.levels.default, }; // seperate nick from password -- cgit v1.2.1